import React, { Component } from 'react'

export default class App extends Component {
    state = {
        myHtml: `
        <!DOCTYPE html>
        <html>
            <head>
                <meta charset="utf-8">
                <!--IE内核浏览器，强制使用用户已安装的最高版本浏览器渲染，有Chrome框架的优先使用Chrome框架-->
                <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
                <title>百度翻译-200种语言互译、沟通全世界！</title>
                <meta name="keywords" content="翻译,在线翻译,文档翻译,网页翻译,百度翻译,词典">
                <meta name="description" content="百度翻译提供即时免费200+语言翻译服务，拥有网页、APP、API产品，支持文本翻译、文档翻译、图片翻译等特色功能，满足用户查词翻译、文献翻译、合同翻译等需求，随时随地沟通全世界">
                <!--强制国内双核浏览器使用Webkit内核渲染页面-->
                <!--360 6.X 以上可识别-->
                <meta name="renderer" content="webkit">
                <!--其他双核可识别-->
                <meta name="force-rendering" content="webkit">
                <script src="//passport.baidu.com/passApi/js/uni_login_wrapper.js?cdnversion=202212281143"></script>
                <script>
                    var _hmt = _hmt || [];
                    (function() {
                      var hm = document.createElement("script");
                      hm.src = "//hm.baidu.com/hm.js?64ecd82404c51e03dc91cb9e8c025574";
                      var s = document.getElementsByTagName("script")[0]; 
                      s.parentNode.insertBefore(hm, s);
                    })();
                    // https://fanyi-cdn.cdn.bcebos.com/webStatic /static
                </script>
                        <link rel="icon" type="image/png" href="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/img/favicon/favicon-32x32.png" sizes="32x32">
                <link rel="icon" type="image/png" href="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/img/favicon/favicon-16x16.png" sizes="16x16">
                <link rel="shortcut icon" type="image/x-icon" href="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/img/favicon/favicon.ico">
                <link rel="bookmark" type="image/x-icon" href="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/img/favicon/favicon.ico">
                <link rel="stylesheet" href="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/third_party/outdated_browser/outdatedbrowser.css">
                <script src="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/third_party/outdated_browser/outdatedbrowser.js?__inline"></script>
            <script defer="defer" src="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/js/runtime.9852b84b.js"></script><script defer="defer" src="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/js/vendors.2e5a45f5.js"></script><script defer="defer" src="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/js/index.5e400555.js"></script><link href="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/css/vendors.a3c599aa.css" rel="stylesheet"><link href="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/css/index.a2136f5f.css" rel="stylesheet"></head>
            <body>
                <script src="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/third_party/jquery.js"></script>
                <script src="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/third_party//polyfill.min.js"></script>
                    <script>
                window.parisSubId = 'pc_mainPage';
            </script>
            <div class="container">
                <div class="header">
            <div class="inner">
                <div class="logo">
                                <h1>
                        <a href="/" class="logo-image" title="百度翻译" target="_self">
                            <img src="https://fanyiapp.cdn.bcebos.com/cms/image/480f948019d284081745a58783076905.png" alt="" width="99" height="31">
                        </a>
                    </h1>
                </div>
                <div class="navigation">
            <ul>
                            <li class="account-wrap">
                                            <a href="http://www.baidu.com/p/旷世狗腿" class="account-head">旷世狗腿<i class="arrow-down"></i></a>
                                        <ol class="account-panel">
                            <li>
                                                            <a href="http://www.baidu.com/p/旷世狗腿">旷世狗腿<i class="arrow-down"></i></a>
                                                    </li>
                            <li><a href="https://passport.baidu.com/">账号设置</a></li>
                            <li><a href="https://passport.baidu.com/?logout" class="account-logout" target="_self">退出</a></li>
                        </ol>
                    </li>
                
                
                    </ul>
        </div>
        <div class="browser-edition-tip" style="display:none">
            <span>抱歉，您正在使用的浏览器未被完全支持，我们强烈推荐您进行浏览器升级。</span>
            <a href="###">关闭</a>
        </div>
        
        <script type="text/html" id="tpl-user-info">
            <li class="account-wrap">
                <a href="http://www.baidu.com/p/{{$data['user_name']}}" class="account-head">{{$data['user_name']}}<i class="arrow-down"></i></a>
                <ol class="account-panel">
                    <li>
                        <a href="http://www.baidu.com/p/{{$data['user_name']}}">{{$data['user_name']}}<i class="arrow-down"></i></a>
                    </li>
                    <li><a href="https://passport.baidu.com/">账号设置</a></li>
                    <li><a href="https://passport.baidu.com/?logout" class="account-logout" target="_self">退出</a></li>
                </ol>
            </li>
        </script>
                <div class="download-guide">
            <ul class="download-guide-ul">
                <li class="guide-list download-plugin">
                    <span class="list-name">下载中心</span>
                    <div id="header-plugins-container"></div>
                </li>
                <li class="guide-list download-app">
                    <a class="list-name app-list-name" href="http://fanyi.baidu.com/appdownload/download.html?tab=app&appchannel=webtitle" target="_blank">APP下载</a>
                    <a class="list-contain app-contain" href="http://fanyi.baidu.com/appdownload/download.html?tab=app&appchannel=webtitle" target="_blank">
                        <span class="icon-text">超好用的手机词典</span>
                    </a>
                </li>
            </ul>
        </div>
                <div class="manual-trans-info">
            <div class="entry-trans-info">
                <a href="https://fanyi-pro.baidu.com/?hmsr=%E7%99%BE%E5%BA%A6%E7%BF%BB%E8%AF%91&hmpl=%E5%9B%BA%E5%AE%9A%E5%85%A5%E5%8F%A3&hmcu=%E9%A1%B6%E9%83%A8%E6%8C%89%E9%92%AE&hmkw=&hmci=" target="_blank" class="list-name">人工翻译</a>
                <span class="list-container">
                    <p class="content-text"><span class="content-text-num">13352</span>&nbsp;名专业译员&nbsp;,&nbsp;<span class="content-text-num">2528</span>&nbsp;名母语审校</p>
                    <p class="content-text">为您提供专属「翻译官」</p>
                    <div class="infolist-detail">
                        <a class="infolist-left" href="https://fanyi-pro.baidu.com/quick?hmsr=%E7%99%BE%E5%BA%A6%E7%BF%BB%E8%AF%91&hmpl=%E5%9B%BA%E5%AE%9A%E5%85%A5%E5%8F%A3&hmcu=%E9%A1%B6%E9%83%A8%E6%8C%89%E9%92%AE-%E6%97%A5%E5%B8%B8%E5%BF%AB%E8%AF%91&hmkw=&hmci=" target="_blank">
                            <div class="infolist-detail-title">日常快译</div>
                            <div>中英/中日互译</div>
                            <div>在线输入</div>
                            <div>即时返回</div>
                            <div class="infolist-detail-tip">适合日常交流用语</div>
                        </a>
                        <div>
                            <a class="infolist-right-card" href="https://fanyi-pro.baidu.com/doc?hmsr=%E7%99%BE%E5%BA%A6%E7%BF%BB%E8%AF%91&hmpl=%E5%9B%BA%E5%AE%9A%E5%85%A5%E5%8F%A3&hmcu=%E9%A1%B6%E9%83%A8%E6%8C%89%E9%92%AE-%E4%B8%93%E4%B8%9A%E7%BF%BB%E8%AF%91&hmkw=&hmci=" target="_blank">
                                <div class="infolist-detail-title">专业翻译</div>
                                <div>20+语种翻译 |  专业审校排版</div>
                                <div class="infolist-detail-tip">适合专业文档/证件资料</div>
                            </a>
                            <a class="infolist-right-card" href="https://fanyi-pro.baidu.com/polish?hmsr=%E7%99%BE%E5%BA%A6%E7%BF%BB%E8%AF%91&hmpl=%E5%9B%BA%E5%AE%9A%E5%85%A5%E5%8F%A3&hmcu=%E9%A1%B6%E9%83%A8%E6%8C%89%E9%92%AE-%E6%AF%8D%E8%AF%AD%E6%B6%A6%E8%89%B2&hmkw=&hmci=" target="_blank">
                                <div class="infolist-detail-title">英文母语润色</div>
                                <div>专业母语润色 | 审校+质检服务</div>
                                <div class="infolist-detail-tip">适合SCI论文/发表期刊/演讲稿</div>
                            </a>
                        </div>
                    </div>
                </span>
            </div>
        </div>
                <div class="trans-machine">
            <a href="https://fanyi-video.baidu.com/?hmsr=1&hmpl=2&hmcu=4&hmkw=&hmci=" target="_blank" data-stat-id="88">视频翻译</a>
        </div>        <div class="simultaneous-interpretation">
            <a href="https://tongchuan.baidu.com?fr=fanyi" target="_blank">同传</a>
            <img src="https://fanyiapp.cdn.bcebos.com/cms/image/34b406bf33df217a5411dd31f19f932b.png" class="icon-new-si">
        </div>        <div data-stat-id="102" class="simultaneous-interpretation">
            <a href="https://fanyi-api.baidu.com/" target="_blank">翻译 API</a>
        </div>        <div class="simultaneous-interpretation">
            <a href="https://fanyi-app.baidu.com/static/react-activity/page/ncov-global-2020.html?fr=pctop" target="_blank">抗疫行动</a>
        </div>        <div class="simultaneous-interpretation">
            <a href="https://fanyi.baidu.com/home" target="_blank">官网</a>
        </div>    </div>
        </div>
        
        <!-- 彩虹条 -->
        <div class="divide-wrap">
            <div class="colorbar-before"></div>
            <div class="colorbar-after"></div>
            <div class="colorbar"></div>
        </div>
        
        <div id="header"></div>        <div class="main main-outer" id="main-outer">
                    <div class="main main-inner">
                        <div class="inner">
                            <div class="translate-wrap">
                                <div class="trans-operation-wrapper clearfix">
                                    <div class="trans-operation clearfix">
            <a href="javascript:void(0);" class="language-btn select-from-language">
                <span class="select-inner">
                    <span class="language-selected" data-lang="auto">
                        自动检测
                    </span>
                    <i class="arrow-down"></i>
                </span>
            </a>
            <a href="javascript:void(0);" class="language-btn-disable from-to-exchange">
                <span class="exchange-mask">
                    
                </span>
            </a>
            <a href="javascript:void(0);" class="language-btn select-to-language">
                <span class="select-inner">
                    <span class="language-selected" data-lang="zh">
                        中文(简体)
                    </span>
                    <i class="arrow arrow-down"></i>
                </span>
            </a>
            <a href="javascript:void(0);" class="trans-btn trans-btn-zh" id="translate-button" target="_self"></a>
            <a href="javascript:" class="manual-trans-btn"></a>
        </div>
        
        <div id="lang-panel-container"></div>                            <div class="doc-trans-operation">
            <div class="doc-trans-guide-layout"></div>
            <div class="doc-trans-dir">
                <div class="doc-lang-pair curr-doc-dir auto">
                    <span class="from-doc-lang">中英互译(默认)</span>
                    <span class="doc-lang-arrow"></span>
                    <span class="to-doc-lang"></span>
                </div>
                <div class="doc-lang-select">
                    <div class="doc-lang-pair" data-dir="zh2en">
                        <span class="from-doc-lang">中文</span>
                        <span class="doc-lang-arrow"></span>
                        <span class="to-doc-lang">英语</span>
                    </div>
                    <div class="doc-lang-pair" data-dir="en2zh">
                        <span class="from-doc-lang">英语</span>
                        <span class="doc-lang-arrow"></span>
                        <span class="to-doc-lang">中文</span>
                    </div>
                    <div class="doc-lang-pair" data-dir="zh2jp">
                        <span class="from-doc-lang">中文</span>
                        <span class="doc-lang-arrow"></span>
                        <span class="to-doc-lang">日语</span>
                    </div>
                    <div class="doc-lang-pair" data-dir="jp2zh">
                        <span class="from-doc-lang">日语</span>
                        <span class="doc-lang-arrow"></span>
                        <span class="to-doc-lang">中文</span>
                    </div>
                    <div class="doc-lang-pair" data-dir="zh2kor">
                        <span class="from-doc-lang">中文</span>
                        <span class="doc-lang-arrow"></span>
                        <span class="to-doc-lang">韩语</span>
                    </div>
                    <div class="doc-lang-pair" data-dir="kor2zh">
                        <span class="from-doc-lang">韩语</span>
                        <span class="doc-lang-arrow"></span>
                        <span class="to-doc-lang">中文</span>
                    </div>
        
                    
                    <div class="doc-lang-pair selected" data-dir="auto2auto">
                        <span class="from-doc-lang">中英互译</span>
                    </div>
                    <div class="doc-lang-guide-container">
                        <span>点击设置语言，与文档翻译方向一致</span>
                        <a class="know-btn" href="javascript:">知道了</a>
                    </div>
                </div>
            </div>
            <a href="javascript:" class="doc-trans-btn">翻译</a>
        </div>                            <div class="translate-setting">
            <a href="javascript:void(0);" data-href="/collection" class="collection-btn data-hover-tip" data-hover-tip-text="收藏夹"><span class="icon-collect"></span></a>
            <a href="javascript:void(0);" class="setting-btn data-hover-tip" data-hover-tip-text="设置"><span class="icon-setting"></span></a>
        
            <div class="setting-options">
                <span class="setting-options-arrow"><em class="setting-arrow-inner"></em></span>
                <table>
                    <tbody>
                                        
                        <tr class="zonedword-switch setting-checked">
                            <td><span class="check-label">划词翻译</span></td>
                            <td><span class="check-option"></span></td>
                        </tr>
                        
                        
                        <tr class="realtrans-switch setting-checked">
                            <td><span class="check-label">实时翻译</span></td>
                            <td><span class="check-option"></span></td>
                        </tr>
                        
                        
                        <tr class="history-switch setting-checked">
                            <td><span class="check-label">历史记录</span></td>
                            <td><span class="check-option"></span></td>
                        </tr>
                        <tr>
                            <td colspan="2"><hr class="split-line"></td>
                        </tr>
                        <tr class="sound-spd-switch">
                            <td><span class="check-label">发音语速</span></td>
                            <td><div class="sound-spd-items"><span id="spd-slow" class="sound-spd-radio" data-value="slow"><span class="icon-radio radio-btn"></span>较慢</span><span id="spd-normal" class="sound-spd-radio" data-value="normal" checked="checked"><span class="icon-radio radio-btn"></span>中速</span><span id="spd-fast" class="sound-spd-radio" data-value="fast"><span class="icon-radio radio-btn"></span>较快</span></div></td>
                        </tr>
                        <tr class="sound-prefer-switch">
                            <td><span class="check-label">英语发音偏好</span></td>
                            <td><div class="sound-prefer-items"><span id="prefer-en" class="sound-prefer-radio" data-value="en" checked="checked"><span class="icon-radio radio-btn"></span>美式</span><span id="prefer-uk" class="sound-prefer-radio" data-value="uk"><span class="icon-radio radio-btn"></span>英式</span></div></td>
                        </tr>
                        <tr class="sound-trigger-switch">
                            <td><span class="check-label">发音模式</span></td>
                            <td><div class="sound-trigger-items"><span id="click-trigger" class="sound-trigger-radio" data-value="click"><span class="icon-radio radio-btn"></span>点击发音</span><span id="hover-trigger" class="sound-trigger-radio" data-value="hover" checked="checked"><span class="icon-radio radio-btn"></span>自动发音</span></div></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
                                    
                                    <div class="domain-trans-wrapper">
            <div class="domain-trans-wrapper-inner">
                <div class="domain-trans domain-trans-large domain-trans-hot">
                    <div class="domain-trans-top">
                        <div class="domain-trans-item-wrapper domain-trans-item-wrapper-common">
                            <div class="domain-trans-item domain-trans-common active" data-domain-value="common">
                                <span>通用领域</span>
                                <span class="domain-trans-item-tip"><span></span></span>
                            </div>
                        </div>
                        <div class="domain-trans-item-wrapper">
                            
                            <div class="domain-trans-item domain-trans-bm disable" data-domain-value="medicine">
                                <span>生物医药</span>
                                <span class="domain-trans-item-tip"></span>
                            </div>
                        </div>
                    </div>
                    <div class="domain-trans-bottom">
                        <div class="domain-trans-item-wrapper">
                            
                            <div class="domain-trans-item domain-trans-et disable" data-domain-value="electronics">
                                <span>电子科技</span>
                                <span class="domain-trans-item-tip"></span>
                            </div>
                        </div>
                        <div class="domain-trans-item-wrapper">
                            
                            <div class="domain-trans-item domain-trans-wcm disable" data-domain-value="mechanics">
                                <span>水利机械</span>
                                <span class="domain-trans-item-tip"></span>
                            </div>
                        </div>
                        <div class="domain-trans-item-wrapper">
                            
                            <div data-stat-id="100" class="domain-trans-item domain-trans-novel disable" data-domain-value="novel">
                                <span>网络文学</span>
                                <span class="domain-trans-item-tip"></span>
                            </div>
                        </div>
                        
                        <div class="domain-trans-item-wrapper">
                            <div class="domain-trans-item domain-trans-military disable" data-domain-value="military">
                                <span>军事</span>
                                <span class="domain-trans-item-tip"></span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="domain-trans domain-trans-small">
                    <div class="domain-trans-top">
                        <div class="domain-trans-item-wrapper domain-trans-item-wrapper-common">
                            <div class="domain-trans-item domain-trans-common active" data-domain-value="common">
                                <span>通用</span>
                                <span class="domain-trans-item-tip"><span></span></span>
                            </div>
                        </div>
                    </div>
                    <div class="domain-trans-bottom">
                        <div class="domain-trans-item-wrapper">
                            
                            <div class="domain-trans-item domain-trans-bm disable" data-domain-value="medicine">
                                <span>生物医药</span>
                                <span class="domain-trans-item-tip"></span>
                            </div>
                        </div>
                        <div class="domain-trans-item-wrapper">
                            
                            <div class="domain-trans-item domain-trans-et disable" data-domain-value="electronics">
                                <span>电子科技</span>
                                <span class="domain-trans-item-tip"></span>
                            </div>
                        </div>
                        <div class="domain-trans-item-wrapper">
                            
                            <div class="domain-trans-item domain-trans-wcm disable" data-domain-value="mechanics">
                                <span>水利机械</span>
                                <span class="domain-trans-item-tip"></span>
                            </div>
                        </div>
                        <div class="domain-trans-item-wrapper">
                            
                            <div data-stat-id="100" class="domain-trans-item domain-trans-novel disable" data-domain-value="novel">
                                <span>网络文学</span>
                                <span class="domain-trans-item-tip"></span>
                            </div>
                        </div>
                        <div class="domain-trans-item-wrapper domain-trans-item-wrapper-short">
                            <div data-stat-id="101" class="domain-trans-item domain-trans-finance disable" data-domain-value="finance">
                                <span>金融</span>
                                <span class="domain-trans-item-tip"></span>
                            </div>
                        </div>
                        <div class="domain-trans-item-wrapper domain-trans-item-wrapper-short">
                            <div class="domain-trans-item domain-trans-military disable" data-domain-value="military">
                                <span>军事</span>
                                <span class="domain-trans-item-tip"></span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- <div class="domain-trans-tip">
                <span>全新上线专业领域翻译！<br>生物医药、科技电子等领域翻译更精准</span>
                <div class="domain-trans-tip-close"></div>
            </div> -->
        </div>
                                </div>
                                <div class="translateio">
                                    <div class="translate-main clearfix">
                                        <div class="trans-left">
            <div class="trans-input-wrap">
                <div class="image-wrap">
                    <div id="image-holder"></div>
                </div>
                <span class="file-icon" id="file-icon-id">
                    <span>文档翻译</span>
                </span>
                <div class="input-wrap">
                    <a href="###" class="textarea-clear-btn" title="清空"></a>
                    <div class="doc-trans-file"></div>
                    <div class="textarea-wrap">
                        <div class="textarea-bg">
                            <span class="prompt-text"></span>
                        </div>
                        <div class="textarea-bg-text" id="textarea-bg-text"></div>
                        <textarea class="textarea" id="baidu_translate_input"></textarea>
                    </div>
                    <ul class="sug-wrap" id="sug-wrap">
                    </ul>
                    <div class="input-operate">
                        <a href="###" class="operate-btn op-sound data-hover-tip" data-hover-tip-text="发音"><span class="icon-sound"></span></a>
                                                                        <div class="op-favor-container">
                            <a href="javascript:void(0);" class="operate-btn op-favo data-hover-tip" data-hover-tip-text="收藏结果"><span class="icon-favo"></span></a>
                            <div class="inputCollGroup"></div>
                        </div>
                                                        <div class="trans-correct" dir="">
                        </div>
                        <div class="trans-prompt" dir="">
                            <p class="prompt-wrap">
                            </p>
                        </div>
                                    </div>
                    <div id="upload-btn" style="display: none">
                        <span class="upload-btn-title">上传文档</span>
                                                            <div class="upload-tip">不限字数翻译，全文免费导出，支持pdf、word、ppt、excel、jpg 等格式</div>
                            <div class="first-tip">不限字数翻译，全文免费导出，支持pdf、word、ppt、excel、jpg 等格式</div>
                                                         
                    </div>
                    <div id="upload-btn-hidden"></div>
                </div>
            </div>
        </div>
        <script type="text/html" id="tplSugItem">
            {{each data}}
                <li class="sug-item" data-sug-title="{{$value.k}}">
                    <span class="sug-query">{{$value.queryInK}}</span><span class="sug-query-rest">{{$value.kRest}}</span>
                    <span class="sug-translate">{{$value.v}}</span>
                </li>
            {{/each}}
        </script>
        <script type="text/html" id="tplLangPrompt">
            <span class="prompt-text">{{isOcr ? '上传图片原文' : '您输入的'}}可能是:</span>
            <a href="javascript:" class="prompt-link source-lang" data-lang="{{lang}}">{{langText}}</a>
        </script>
        <script type="text/template" id="tpl-input-ol">
            {{each groupList as group}}
                <li class="input-coll-li" title="{{group.nameDisplayLength > 14 ? group.name : ''}}" data-group-id="{{group.id}}" data-stat-id="18">{{group.name}}</li>
            {{/each}}
        </script>                                <div class="trans-right">
            <div class="output-wrap output-blank">
        
            </div>
            
            <span class="hover-tips-wrap" id="hover-tips" style="display:none;">
                <span class="tips-content">清空内容</span>
                <span class="tips-arrow-down"></span>
            </span>
        </div>
        
        
        <script type="text/html" id="tplOrdinaryResult">
            <div class="output-mod ordinary-wrap">
                <!--翻译结果展示与编辑区域-->
                <div class="output-bd" dir="{{tplData['dir']}}">
                    {{each tplData['data'] as value index}}
                        {{if value.prefixWrap}}<p class="ordinary-output">{{#value.prefixWrap | fanyiGenBr}}</p>{{/if}}
                        {{if value.src}}
                        <p class="ordinary-output source-output" dir="{{tplData['srcDir']}}"
                            {{if tplData['doubleLangChecked'] === false}}
                                style="display:none;"
                            {{/if}}
                            {{if tplData['srcDir'] == 'rtl'}}
                                style="margin-left:10px;font-size:22px;"
                            {{/if}}
                        >{{value.src}}</p>
                        {{/if}}
                        {{if value.dst}}
                            <p class="ordinary-output target-output clearfix"
                                {{if (tplData['jpData'] && tplData['japanChecked'] === true) 
                                        || (tplData['lmData'] && tplData['luomaChecked'] === true) 
                                        || (tplData['lmData'] && tplData['chinaChecked'] === true)}}
                                     style="display:none;"
                                {{/if}}
                            >
                                {{if value['result'].length > 0}}{{each value['result'] as val idx}}<span left-pos="{{val[2][0]}}" right-pos="{{val[4][0]}}" space="{{val[3][0]}}"{{if tplData['dir'] == 'rtl'}}style="font-size:22px;"{{/if}}>{{if tplData['needSpace'] == 'yes'}}&nbsp;{{val[6]}}&nbsp;{{else}}{{val[6]}}{{/if}}</span>{{/each}}{{else}}{{value.dst}}
                                {{/if}}
                            </p>
                        {{/if}}
                        {{if tplData['jpData']}}
                            <p class="japan-pinyin-output japan-output"
                                {{if tplData['japanChecked'] === false}}
                                    style="display:none;"
                                {{/if}}
                                {{if tplData['srcDir'] == 'rtl'}}
                                    style="margin-left:10px;font-size:22px;"
                                {{/if}}
                            >
                                {{each tplData['jpData'][index] as val idx}}
                                    <span class="japan-output-item">
                                        {{if val['dst']}}
                                            <em class="japan-ouput-pinyin">
                                                {{val['dst']}}</em>
                                        {{/if}}
                                        <span class="japan-output-japan">
                                            {{val['src']}}</span>
                                    </span>
                                {{/each}}
                            </p>
                        {{/if}}
                        {{if tplData['lmData'] && tplData['lmData'][index]}}
                            <p class="luoma-pinyin-kor luoma-output"
                                {{if tplData['luomaChecked'] === false || tplData['chinaChecked'] === false}}
                                    style="display:none;"
                                {{/if}}
                                {{if tplData['srcDir'] == 'rtl'}}
                                    style="margin-left:10px;font-size:22px;"
                                {{/if}}
                            >
                                {{each tplData['lmData'][index] as val idx}}
                                    <span class="luoma-output-item">
                                        {{if val['trg']}}
                                            <em class="luoma-ouput-pinyin">{{val['trg']}}</em>
                                        {{/if}}
                                        <span class="luoma-output-kor">{{val['src']}}</span>
                                    </span>
                                {{/each}}
                            </p>
                        {{/if}}
                    {{/each}}
                </div>
        
                <!--翻译结果功能控制区域-->
                <div class="output-hd clearfix">
                    <div class="output-operate">
                        {{if tplData['spell'] !== '' && tplData['spellLang'] !== ''}}
                            <a href="javascript:void(0);" data-sound-lan="{{tplData['spellLang']}}" data-sound-text="{{tplData['spell']}}" class="operate-btn op-sound data-hover-tip" data-hover-tip-text="发音"><span class="icon-sound"></span>
                            </a>
                        {{else}}
                            <div class="op-sound-disable"><div></div></div>
                        {{/if}}
                        <a href="javascript:void(0);" data-stat-id="60" class="operate-btn op-copy data-hover-tip"
                        {{if tplData['doubleLangChecked'] === false}}
                            data-hover-tip-text="复制">
                        {{else}}
                            data-hover-tip-text="复制双语结果">
                        {{/if}}
                        <span class="icon-copy"></span>
                        </a>
                        <a href="javascript:void(0);" class="operate-btn op-correct"  data-stat-id="38" data-stat-add="纠错"><span class="correct-txt">报错</span></a>
                        <a data-stat-id="106"
                                href="javascript:"
                                class="note-expand-btn">
                            笔记
                        </a>
                    </div>
                    <div class="output-double-lang">
                        {{if tplData['lmData'] && tplData['targetLang'] === 'kor'}}
                        <a href="javascript:void(0);" class="operate-btn op-lm-pingyin-btn">
                            罗马音
                            {{if tplData['luomaChecked'] === false}}
                                <span class="op-check"><label class="icon-opcheck"></label></span>
                            {{else}}
                                <span class="op-checked"><label class="icon-opcheck"></label></span>
                            {{/if}}
                        </a>
                        {{/if}}
                        {{if tplData['jpData']}}
                        <a href="javascript:void(0);" class="operate-btn op-jp-pingyin-btn">
                            假名对照
                            {{if tplData['japanChecked'] === false}}
                                <span class="op-check"><label class="icon-opcheck"></label></span>
                            {{else}}
                                <span class="op-checked"><label class="icon-opcheck"></label></span>
                            {{/if}}
                        </a>
                        {{/if}}
                        {{if tplData['lmData'] && tplData['targetLang'] === 'zh'}}
                        <a href="javascript:void(0);" class="operate-btn op-zh-pingyin-btn">
                            拼音
                            {{if tplData['chinaChecked'] === false}}
                                <span class="op-check"><label class="icon-opcheck"></label></span>
                            {{else}}
                                <span class="op-checked"><label class="icon-opcheck"></label></span>
                            {{/if}}
                        </a>
                        {{/if}}
                        <a href="javascript:void(0);" class="operate-btn op-double-lang">
                            双语对照
                            {{if tplData['doubleLangChecked'] === false}}
                                <span class="op-check"><label class="icon-opcheck"></label></span>
                            {{else}}
                                <span class="op-checked"><label class="icon-opcheck"></label></span>
                            {{/if}}
                        </a>
                    </div>
                </div>
                <div class="edit-tip" style="display:none"></div>
            </div>
        </script>
        
        <script type="text/html" id="tplEditOutputTextarea">
            <a href="javascript:void(0);" class="output-textarea-clear-btn" title="清空"></a>
            <div class="textarea-wrap">
                <textarea class="textarea" id="baidu_translate_output_edit" data-height="70">
                </textarea>
            </div>
        </script>
        
        
        <script type="text/html" id="tplCorrectResultModel">
            <div id="output-correct" class="output-correct output-correct-hide">
                <div class="output-correct-wrapper">
                    <h1 class="output-correct-title">翻译报错反馈</h1>
                    <p class="output-correct-type"><!--
                        --><span class="output-correct-type-tip">错误类型:</span><!--
                        --><span class="output-correct-type-box"><input id="output-correct-type-quality" checked name="type[]" value="1" type="checkbox"><label for="output-correct-type-quality" data-stat-id="39" class="icon-box">质量不佳</label></span><!--
                        --><span class="output-correct-type-box"><input id="output-correct-type-misnomer" name="type[]" value="2" type="checkbox"><label for="output-correct-type-misnomer" data-stat-id="40" class="icon-box">用词不当</label></span><!--
                        --><span class="output-correct-type-box"><input id="output-correct-type-grammar" name="type[]" value="3" type="checkbox"><label for="output-correct-type-grammar" data-stat-id="41" class="icon-box">语法有误</label></span><!--
                        --><span class="output-correct-type-box"><input id="output-correct-type-other" name="type[]" value="0" type="checkbox"><label for="output-correct-type-other" data-stat-id="42" class="icon-box">其他</label></span><!--
                    --></p>
                    <div class="output-correct-text">
                        <p class="output-correct-text-tip">建议译文（非必填）:</p>
                        <div class="output-correct-text-wrapper">
                            <textarea id="output-correct-text-area" class="output-correct-text-area" name="result"></textarea>
                            <div class="output-correct-text-placeholder">您的建议将用于提高翻译质量</div>
                        </div>
                    </div>
                    <p class="output-correct-btn-row">
                        <a href="###" class="output-correct-btn-submit" data-stat-id="43">提交</a>
                    </p>
                    <a href="###" class="output-correct-btn-close"><span class="icon-closesqr"></span></a>
                </div>
            </div>
        </script>
        <script type="text/html" id="tplLongTextPrompt">
            <div class="long-text-prompt-wrap">
                <p>{{message}}</p>
            </div> 
        </script>
        
        <div class="flash" style="font-size:0;width:0;height:0;overflow:hidden;position:absolute;left:-999999em;z-index:-9999;">
            <img id="btpm-swf-src" src="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/img/flash/bt.swf" style="display:none;" alt="">
            <div class="bt-flash" style="width:0;height:0;font-size:0;overflow:hidden;"></div>
        </div>                            </div>
                                    <div class="preview-placeholder">
                                        <img id="preview-img">
                                    </div>
                                </div>
                                <div class="upload-fail-tip">
                                    请先设置语种，然后点击 [翻译] 按钮开始翻译
                                </div>
                                <div class="trans-other-wrap clearfix">
                                    <div class="trans-other-wrap-left-part">
                                        <div class="history-wrap">
            <div class="history-container">
                <div class="history-title">
                    <div class="history-control-bar">
                        <div class="history-remove-edit">
                            <span class="history-remove-all">清空</span><span class="split-symbol">|</span><span class="history-edit-btn">编辑</span>
                        </div>
                        <span class="history-complete">完成</span>
                    </div>
                    <h1><span class="history-icon icon-history"></span>历史记录</h1>
                </div>
                <ul class="history-items"></ul>
                <div class="history-tip">
                    <p>暂时没有您的历史记录</p>
                    <p class="history-tip-row">不想显示历史记录？<a class="history-tip-setting">点此设置</a></p>
                </div>
            </div>
        </div>
        
        <script type="text/template" id="tplHistoryItem">
            {{each list as item}}<li><span class="history-item-remove icon-remove"></span><a href="javascript:" {{if item.from === 'ara'}}dir="rtl"{{/if}} class="history-item" data-from="{{item.from}}" data-to="{{item.to}}">{{item.query}}</a></li>{{/each}}
        </script>
                                        <div class="hot-link-out-container"></div>
                                        <div class="trans-left">
                                            <nav id="side-nav">
            <div class="sidv-nav-position-layer">
                <div class="side-nav-wrapper"></div>
                <div id="nav-mask"></div>
        <div id="nav-st" class="nav-st">
            <h1>拖动以排序</h1>
            <div class="nav-st-items"></div>
            <div class="nav-st-footer"><div class="nav-st-default" data-stat-id="63">恢复默认</div></div>
        </div>
        
        <script type="text/html" id="tplNavSTList">
            {{each navListIdAndText as navItem navIdx}}
            <div class="nav-st-item" data-sort-id="{{navItem.id}}" data-sortable="y"><div class="nav-st-item-text-prev"><span></span></div>{{navItem.text}}</div>
            {{/each}}
        </script>
            </div>
        </nav>
        
        <script type="text/html" id="tplSideNav">
            <ol class="nav-ol{{sectionData.length === 1 ? ' single-item' : ''}}">
                <a href="javascript:" class="nav-dxy-logo"></a>
                {{if withSortBtn}}
                <a href="javascript:" class="nav-sort-btn" data-stat-id="62">排序</a>
                {{/if}}
                {{each sectionData as section idx}}
                    <li data-section-idx="{{idx}}" class="{{if section.isSub}}nav-sub-item{{else}}nav-item{{/if}}{{if section.isNew}} prefix-new{{/if}}" data-stat-id="37" data-stat-add="{{section.title}}">
                        <span>{{section.title}}{{if section.isNew}}<span class="icon-new new-icon-btn"></span>{{/if}}</span>
                    </li>
                {{/each}}
                <a href="javascript:" class="nav-search-again">继续查词</a>
            </ol>
        </script>                                    <div id="left-result-container">
                                            </div>
                                            <script type="text/html" id="tplAppRead">
            <div id="app-read">
            {{#tplData['body']}}
            </div>
        </script><script type="text/html" id="tplTranslator">
            {{if tplData.isFirstCard}}
            <div id="transTranslator" class="result-section" data-nav-text="翻译家推荐">
            {{else}}
            <section id="transTranslator" class="result-section" data-nav-text="翻译家推荐">
            {{/if}}
                {{if tplData.isFirstCard}}
                <div class="translator-wrapper">
                {{else}}
                <header class="section-header">翻译家推荐</header>
                <div class="translator-wrapper-notfirst">
                {{/if}}
                    <div class="translator-ori">
                        <p class="translator-tag">原文：</p>
                        <div class="translator-content">
                            <p class="translator-ori-text">{{tplData.src_exsent}}<a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{tplData.src_exsent}}" class="op-sound"><span class="icon-sound"></span></a></p>
                            <p class="translator-ori-source">-From <i>{{tplData.src_book}}</i>{{if tplData.src_auth}} by {{tplData.src_auth}}{{/if}}</p>
                        </div>
                    </div>
                    <div class="translator-trans">
                        <p class="translator-tag">译文：</p>
                        <div class="translator-content">
                            <p class="translator-trans-text">{{tplData.dst_exsent}}</p>
                            <p class="translator-trans-source">-出自《{{tplData.dst_book}}》{{tplData.dst_auth}}译</p>
                        </div>
                    </div>
                    {{if tplData.img && tplData.jd}}
                    <div class="translator-cover"><a target="_blank" href="{{tplData.jd}}" data-stat-id="50"><img src="{{tplData.img}}"/></a></div>
                    {{/if}}
                </div>
            {{if tplData.isFirstCard}}
            </div>
            {{else}}
            </section>
            {{/if}}
        </script><script type="text/template" id="tpl-keywords">
            {{if isFirstCard}}
            <div class="keywords-outter result-section" data-nav-text="重点词汇">
            {{else}}
            <section class="result-section need-collapse keywords-outter-notfirst" data-nav-text="重点词汇" data-collapse-height="700">
            {{/if}}
                {{if isFirstCard}}
                <div class="keywords-inner">
                    <h1 class="keywords-title">重点词汇</h1>
                {{else}}
                    <header class="section-header">重点词汇</header>
                {{/if}}
                    <ul class="keywords-container">
                    {{each dataArray as data keywordIdx}}
                    <li
                            data-key-word-idx="{{keywordIdx}}"
                            class="keywords-content">
                        <div class="keywords-content-text-ellipsis">
                            <a
                                    data-stat-id="104"
                                    class="keywords-word"
                                    href="javascript:"
                                    data-direction="{{direction}}">{{data.word}}</a>
                            <span class="keywords-means">
                            {{each data.means as mean meanidx}}
                            <span class="keywords-mean {{if meanNeedHighlight}}highlight{{/if}}">
                                {{mean}}
                            </span>
                            {{if meanidx < data.means.length - 1}}; {{/if}}
                            {{/each}}
                        </span>
                        </div>
                        <div class="keyword-favor-container common-favor-container">
                            <a
                                    data-stat-id="103"
                                    href="javascript:"
                                    class="op-favo">
                                <span class="icon-favo"></span>
                            </a>
                            <div class="keyword-coll-group-container common-coll-group-container"></div>
                        </div>
                    </li>
                    {{/each}}
                    </ul>
                {{if isFirstCard}}
                </div>
                {{/if}}
            {{if isFirstCard}}
            </div>
            {{else}}
            </section>
            {{/if}}
        </script><script type="text/template" id="tplDictionary">
            {{if isFirstCard}}
            <div class="output-mod dictionary-wrap dictionary-wrap-f result-section" data-nav-text="简明释义"></div>
            {{else}}
            <section class="result-section dictionary-wrap dictionary-wrap-nf need-collapse" data-nav-text="简明释义" data-collapse-height="700">
            </section>
            {{/if}}
        </script>
        
        <script type="text/template" id="tplSimplemeans">
            {{if tplData['queryExplainVideo']}}
            <div class="video-container">
                <div class="video-top-bar">
                    <a href="javascript:void(0);" class="video-close"></a>
                </div>
                <video class="query-video" controls controlslist="nodownload" preload="none" playsinline="true" webkit-playsinline="true" x-webkit-airplay="deny" src="{{tplData.queryExplainVideo.videoUrl}}" poster="{{tplData.queryExplainVideo.coverUrl}}"></video>
            </div>
            {{/if}}
            {{if tplData.isFirstCard}}
            <div class="simple-dict simple-dict-f {{if (!tplData['baikeImgUrl'] && !tplData['queryExplainVideo'])}}simple-dict-f-nimg{{else}}simple-dict-f-wi{{/if}}">
            {{else}}
            <header class="section-header">简明释义</header>
            <div class="details-cont-item simple-dict simple-dict-nf {{if (tplData['baikeImgUrl'] || tplData['queryExplainVideo'])}}simple-dict-nf-wi{{/if}}">
            {{/if}}
                <div class="output-bd clearfix" dir="ltr">
                    {{if tplData['queryExplainVideo']}}
                    <div
                            class="dictionary-explain-video"
                            style="background-image: url({{tplData.queryExplainVideo.thumbUrl}})"
                            data-video-type="{{tplData.queryExplainVideo.videoType}}"
                    >
                        {{if tplData.queryExplainVideo.videoType === 1}}
                        <span class="query-video-tag-bbc"></span>
                        {{else}}
                        <span class="query-video-tag">{{tplData.queryExplainVideo.tag}}</span>
                        {{/if}}
                        <span class="query-video-controls">{{tplData.queryExplainVideo.formatDur}}</span>
                    </div>
                    {{/if}}
                    {{if tplData['baikeImgUrl']}}
                    <div class="dictionary-baike-img" style="background-image: url('{{tplData['baikeImgUrl']}}')"></div>
                    {{/if}}
                    {{each tplData['symbols'] as value index}}
                    {{if value.parts}}
                        <div class="dictionary-output">
                            <div class="dictionary-title">
                                <h3 class="strong">{{tplData['word_name']}}</h3>
                                {{if value['word_symbol'] || value['ph_en'] || value['ph_am']}}
                                <div class="dictionary-spell">
                                    {{if value['word_symbol']}}
                                    <span class="phonetic-transcription">
                                                <span>[{{value['word_symbol']}}]</span>
                                            </span>
                                    {{/if}}
                                    {{if value['ph_en']}}
                                    <span class="phonetic-transcription">
                                                <span>英</span>
                                                <b>[{{value['ph_en']}}]</b>
                                                {{if tplData['show_sound']}}
                                                    <a href="javascript:void(0);" data-sound-lan="uk&lock" data-sound-text="{{tplData['word_name']}}" class="op-sound">
                                                        <span class="icon-sound sound-btn"></span>
                                                    </a>
                                                    <a href="javascript:void(0);" data-sound-lan="uk&lock" data-sound-text="{{tplData['word_name']}}" data-hover-tip-text="复读" class="op-repeat data-hover-tip">
                                                        <span class="icon-repeat sound-btn"></span>
                                                    </a>
                                                {{/if}}
                                            </span>
                                    {{/if}}
                                    {{if value['ph_am']}}
                                    <span class="phonetic-transcription">
                                                <span>美</span>
                                                <b>[{{value['ph_am']}}]</b>
                                                {{if tplData['show_sound']}}
                                                    <a href="javascript:void(0);" data-sound-lan="en&lock" data-sound-text="{{tplData['word_name']}}" class="op-sound">
                                                        <span class="icon-sound sound-btn"></span>
                                                    </a>
                                                    <a href="javascript:void(0);" data-sound-lan="en&lock" data-sound-text="{{tplData['word_name']}}" data-hover-tip-text="复读" class="op-repeat data-hover-tip">
                                                        <span class="icon-repeat sound-btn"></span>
                                                    </a>
                                                {{/if}}
                                            </span>
                                    {{/if}}
                                </div>
                                {{/if}}
                            </div>
                            <div class="dictionary-comment">
                                {{each value.parts as val idx}}
                                <p>
                                    {{if val['part']}}
                                    <b>{{val['part']}}</b>
                                    {{else if val['part_name']}}
                                    
                                    {{if tplData['symbols'].length > 1 || value.parts.length > 1}}<b>{{val['part_name']}}</b>{{/if}}
                                    {{/if}}
                                    {{if val['means']}}
                                    <strong class="dict-comment-mean">
                                        {{each val.means as meanval meanidx}}{{if val['part_name'] === '网络' && meanidx > 4}}{{else if meanval['word_mean'] && meanval['isSeeAlso']}} <span>请参见</span> <a class="seealso" href="/#zh/en/{{meanval['word_mean']}}"> {{meanval['word_mean']}} </a> {{else if meanval['word_mean']}}<span>{{if meanval['text']}}{{if meanval['domain']}}{{meanval['domain']}}{{/if}}{{if meanval['beg_end'] === '0' && meanval['exp']}}{{meanval['exp']}}{{/if}}{{if (/[\u0391-\uFFE5]+/).test(meanval['text'])}}<span>{{meanval['text']}}</span>{{else}}<a class="dict-second-trans" href="/#en/zh/{{meanval['text'] | uriComponentTrimAndEncode}}">{{meanval['text']}}</a>{{/if}}{{if meanval['beg_end'] === '1' && meanval['exp']}}{{meanval['exp']}}{{/if}}{{else}}{{if (/[\u0391-\uFFE5]+/).test(meanval['word_mean'])}}<span>{{meanval['word_mean']}}</span>{{else}}<a class="dict-second-trans" href="/#en/zh/{{meanval['word_mean'] | uriComponentTrimAndEncode}}">{{meanval['word_mean']}}</a>{{/if}}{{/if}}</span>{{if meanidx < val.means.length -1}}<span class="dict-margin">;</span>{{/if}}
                                        {{else}}{{if tplData['isZh2En']}}{{if (/[\u0391-\uFFE5]+/).test(meanval)}}<span>{{meanval}}</span>{{else}}<a class="dict-second-trans" href="/#en/zh/{{meanval | uriComponentTrimAndEncode}}">{{meanval}}</a>{{/if}}{{else}}<span>{{meanval}}</span>{{/if}}{{if meanidx < val.means.length -1}}<span class="dict-margin">;</span>{{/if}}{{/if}}{{/each}}
                                    </strong>
                                    {{/if}}
                                </p>
                                {{/each}}
                                {{if tplData['net_means'] && tplData['net_means'].length > 0 && index === tplData['symbols'].length - 1}}
                                
                                <p>
                                    <b>网络</b>
                                    <strong class="dict-comment-mean">
                                        {{each tplData['net_means'] as netval netidx}}
                                        {{if netidx < 3}}<span>{{netval['means']}}</span>{{if netidx < 2}};&nbsp;{{/if}}{{/if}}
                                        {{/each}}
                                    </strong>
                                </p>
                                {{/if}}
                            </div>
                        </div>
                    {{/if}}
                    {{/each}}
        
                    {{if tplData['exchange'] || tplData['err_words'] && tplData['err_words'].length > 0 || tplData['sim_words'] && tplData['sim_words'].length > 0}}
                        <div class="dictionary-exchange{{if tplData['exchange'] && !tplData['showExchange']}} dictionary-no-exchange{{/if}}">
                            {{if tplData['exchange'] && tplData['exchange']['word_third']}}
                            <p>
                                        <span class="word-can-trans">第三人称单数：
                                            {{each tplData['exchange']['word_third'] as value}}
                                            <a href="/#en/zh/{{value}}" class="sec-trans" data-stat-id="69" data-stat-add="第三人称单数">{{value}}</a>
                                            {{/each}}
                                        </span>
                            </p>
                            {{/if}}
                            {{if tplData['exchange'] && tplData['exchange']['word_pl']}}
                            <p>
                                        <span class="word-can-trans">复数：
                                            {{each tplData['exchange']['word_pl'] as value}}
                                            <a href="/#en/zh/{{value}}" class="sec-trans" data-stat-id="69" data-stat-add="复数">{{value}}</a>
                                            {{/each}}
                                        </span>
                            </p>
                            {{/if}}
                            {{if tplData['exchange'] && tplData['exchange']['word_ing']}}
                            <p>
                                        <span class="word-can-trans">现在分词：
                                            {{each tplData['exchange']['word_ing'] as value}}
                                            <a href="/#en/zh/{{value}}" class="sec-trans" data-stat-id="69" data-stat-add="现在分词">{{value}}</a>
                                            {{/each}}
                                        </span>
                            </p>
                            {{/if}}
                            {{if tplData['exchange'] && tplData['exchange']['word_past']}}
                            <p>
                                        <span class="word-can-trans">过去式：
                                            {{each tplData['exchange']['word_past'] as value}}
                                            <a href="/#en/zh/{{value}}" class="sec-trans" data-stat-id="69" data-stat-add="过去式">{{value}}</a>
                                            {{/each}}
                                        </span>
                            </p>
                            {{/if}}
                            {{if tplData['exchange'] && tplData['exchange']['word_done']}}
                            <p>
                                        <span class="word-can-trans">过去分词：
                                            {{each tplData['exchange']['word_done'] as value}}
                                            <a href="/#en/zh/{{value}}" class="sec-trans" data-stat-id="69" data-stat-add="过去分词">{{value}}</a>
                                            {{/each}}
                                        </span>
                            </p>
                            {{/if}}
                            {{if tplData['exchange'] && tplData['exchange']['word_er']}}
                            <p>
                                        <span class="word-can-trans">比较级：
                                            {{each tplData['exchange']['word_er'] as value}}
                                            <a href="/#en/zh/{{value}}" class="sec-trans" data-stat-id="69" data-stat-add="比较级">{{value}}</a>
                                            {{/each}}
                                        </span>
                            </p>
                            {{/if}}
                            {{if tplData['exchange'] && tplData['exchange']['word_est']}}
                            <p>
                                        <span class="word-can-trans">最高级：
                                            {{each tplData['exchange']['word_est'] as value}}
                                            <a href="/#en/zh/{{value}}" class="sec-trans" data-stat-id="69" data-stat-add="最高级">{{value}}</a>
                                            {{/each}}
                                        </span>
                            </p>
                            {{/if}}
        
                            {{if tplData['err_words'] && tplData['err_words'].length > 0 || tplData['sim_words'] && tplData['sim_words'].length > 0}}
                            <p>
                                        <span class="word-can-trans">形近词：
                                            {{if tplData['err_words'] && tplData['err_words'].length > 0}}
                                                {{each tplData['err_words']}}
                                                <a href="/#en/zh/{{$value}}" class="sec-trans" data-stat-id="69" data-stat-add="形近词">{{$value}}</a>
                                                {{/each}}
                                            {{/if}}
                                            {{if tplData['sim_words'] && tplData['sim_words'].length > 0}}
                                                {{each tplData['sim_words']}}
                                                <a href="/#en/zh/{{$value}}" class="sec-trans" data-stat-id="69" data-stat-add="形近词">{{$value}}</a>
                                                {{/each}}
                                            {{/if}}
                                        </span>
                            </p>
                            {{/if}}
                        </div>
                    {{/if}}
                    {{if tplData['derivative']}}
                        <div class="dictionary-derivative">
                            <span>派生词：</span>
                            {{each tplData['derivative'] as drsData drsIdx}}
                                <p class="dr-item">
                                    {{each drsData['data'] as drData drIdx}}
                                        {{if drData.tag === 'dr'}}{{each drData['data'] as drVal}}{{if drVal['canTrans']}}<span class="word-can-trans"><a class="f-link sec-trans" href="/#en/zh/{{drVal.text | encodeURIComponent}}" data-stat-id="69" data-stat-add="派生词">{{drVal.text}}</a></span>{{else}}{{drVal.text}}{{/if}}{{/each}}{{/if}}{{if drData.tag === 'p'}}<span class="dr-p">{{drData['p_text']}}</span>{{/if}}
                                    {{/each}}
                                </p>
                            {{/each}}
                        </div>
                    {{/if}}
                </div>
                {{if tplData['memory_skill'] || tplData['coreTags']}}
                <div class="dictionary-bottom clearfix">
                    
                    {{if tplData['memory_skill']}}
                        <div class="dictionary-memory">
                            <span class="memory-tit">记忆技巧：</span><span class="momory-skill">{{tplData['memory_skill']}}</span>
                        </div>
                    {{/if}}
        
                    {{if tplData['coreTags']}}
                    <ol class="dictionary-tags">{{each tplData.coreTags}}<li>{{$value}}</li>{{/each}}</ol>
                    {{/if}}
                </div>
                {{/if}}
                
                <!--<div class="output-hd clearfix">
                    <div class="output-tip">
                        {{if tplData['from'] === 'green'}}
                        数据来源：百度词库
                        {{else if tplData['from'] === 'kingsoft'}}
                        数据来源：金山词霸
                        {{else if tplData['from'] === 'keyword'}}
                        数据来源：中国翻译研究院&nbsp;中国翻译协会
                        {{else if tplData['from'] === 'netdata'}}
                        数据来源：网络
                        {{else if !tplData['from']}}
                        数据来源：金山词霸
                        {{/if}}
                    </div>
                </div>-->
                
                {{if (tplData['from'] === 'kingsoft' || !tplData['from'])}}
                <div class="dictionary-kingsoft-source">
                    <img src="./img/kingsoft_2x.png" width="16" height="16" class="dictionary-kingsoft-source-icon">
                    <span class="dictionary-kingsoft-source-text">内容来自金山词霸</span>
                    <div class="dictionary-kingsoft-source-arrow"></div>
                </div>
                {{/if}}
            </div>
        </script>
        
        <script type="text/template" id="tplOtherSimplemeans">
            <div class="simple-dict simple-dict-f">
                <div class="output-bd" dir="ltr">
                    {{each tplData['content'] as value index}}
                    <div class="dictionary-output">
                        <div class="dictionary-title">
                            <h3 class="strong">{{tplData['src']}}</h3>
                            {{if tplData['voice'] && tplData['voice'].length > 0}}
                            <div class="dictionary-spell">
                                {{each tplData['voice']}}
                                <span class="phonetic-transcription">
                                        {{if $value['en_phonic']}}
                                        <span>英</span>
                                        <b>{{$value['en_phonic']}}</b>
                                        <a href="javascript:void(0);" data-sound-lan="uk&lock" data-sound-text="{{tplData['src']}}" class="op-sound">
                                            <span class="icon-sound sound-btn"></span>
                                        </a>
                                        {{else if $value['us_phonic']}}
                                        <span>美</span>
                                        <b>{{$value['us_phonic']}}</b>
                                        <a href="javascript:void(0);" data-sound-lan="en&lock" data-sound-text="{{tplData['src']}}" class="op-sound">
                                            <span class="icon-sound sound-btn"></span>
                                        </a>
                                        {{/if}}
                                    </span>
                                {{/each}}
                            </div>
                            {{/if}}
                        </div>
        
                        <div class="dictionary-comment">
                            {{each value['mean'] as val idx}}
                            <p>
                                {{if val['pre']}}
                                <b>{{val['pre']}}</b>
                                {{/if}}
                                <strong class="dict-comment-mean">
                                    {{each val['cont'] as valcont idxcont}}
                                    <span>{{idxcont}}</span>;&nbsp;
                                    {{/each}}
                                </strong>
                            </p>
                            {{/each}}
        
                            {{if tplData['show_th_detail']}}
                            <p style="padding-top:20px;">
                                ข้อมูลจาก NECTEC&quot;s Lexitron
                            </p>
                            {{/if}}
                        </div>
                    </div>
                    {{/each}}
                </div>
            </div>
        </script><script type="text/html" id="tplFestivalLink">
            <div id="festival-link-container">
                <div class="festival-link-date-container icon-date">
                    <span class="festival-link-date-decade festival-link-date-num-"></span>
                    <span class="festival-link-date-unit festival-link-date-num-"></span>
                </div>
                {{if hasJump}}
                    <a href="{{url}}" target="_blank" id="festival-link">{{jumpText}}</a>
                {{/if}}
                {{if hasNormal}}
                    <span class="festival-link-text">{{normalText}}</span>
                {{/if}}
            </div>
        </script>
        <script>
            window.festivalLinkInfo = {};
            festivalLinkInfo.isShowFestivalLink = false;
            // festivalLinkInfo.isShowFestivalLink = true;
            if (festivalLinkInfo.isShowFestivalLink) {
                                // festivalLinkInfo.hasNormal = true;
                // festivalLinkInfo.normalText = 'MMPMMPMMPMMPMMP';
            }
            // require('./festivalLink.js').init();
        </script><script type="text/html" id="tplAdLink">
            <div class="hot-link-middle{{if isPlaceAdLinkRight}} hot-link-middle-right{{/if}}"><a href="{{url}}" target="_blank">{{text}}</a><span class="hot-link-icon icon-hot"></span></div>
        </script>
        <script>
                    window.adLinkInfo = {};
                // adLinkInfo.isShowAdLink = false;
                adLinkInfo.isShowAdLink = false;
                if (adLinkInfo.isShowAdLink) {
                    adLinkInfo.url = '';
                    adLinkInfo.text = '';
                    // adLinkInfo.url = 'http://www.baidu.com';
                    // adLinkInfo.text = '广告文字哈哈哈';
                    if (window.adLink && window.adLink.init) {
                        window.adLink.init();
                    }
                }
            </script><script type="text/html" id="tplOxfordUnbox">
            <section class="result-section nav-sub-section need-collapse" data-nav-text="{{$data.type | toNavChn}}" data-collapse-height="700">
            <header class="section-header">{{if $data.onlyUnbox}}牛津词典 - {{/if}}{{$data.type | toNavChn}}</header>
            <div id="cont-{{$data.type}}" class="details-cont-item details-cont-item-tail item-oxford">
                {{each $data.data as unbox}}
                <div class="oxford-unbox f-result">
                {{if unbox['data'] && unbox['data'].length > 0}}
                    {{each unbox['data'] as unboxData}}
                        {{if unboxData.tag === 'title'}}
                            <div class="unbox-title">
                            {{if unboxData.words && unboxData.words.length > 0}}
                                
                                {{each unboxData.words as words}}
                                    <span class="word-can-trans"><a class="f-link sec-trans" data-stat-id="44" href="/#en/zh/{{words | encodeURIComponent}}">{{words}}</a></span>
                                {{/each}}
                            {{else}}
                                
                                <span class="word-can-not-trans">{{unboxData.text}}</span>
                            {{/if}}
                            </div>
                        {{else if unboxData.tag === 'subhead'}}
                            <div class="unbox-subhead f-gap-top-large">
                                <p>{{unboxData.enText}} {{unboxData.chText}}</p>
                            </div>
                        {{else if unboxData.tag === 'para'}}
                            {{if unboxData.data && unboxData.data.length > 0}}
                            <div class="unbox-normal {{unboxData | setParaOudent:unbox.type}}">
                                {{each unboxData.data as paraData}}
                                {{if paraData.tag === 'unx'}}
                                    <div class="para-unx f-gap-top">
                                        <p class="f-color-brown">{{paraData.enText}}<a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{paraData.enText | encodeURIComponent}}" class="operate-btn op-sound" >
                                            <span class="icon-sound"></span>
                                        </a></p>
                                        <p class="f-color-brown">{{paraData.chText}}</p>
                                    </div>
                                {{else if paraData.tag === 'und'}}
                                    <div class="para-und f-gap-top">
                                        <p>{{paraData.enText + ' ' + paraData.chText}}</p>
                                    </div>
                                {{else if paraData.tag === 'unmore'}}
                                    
                                    {{if paraData['data'] && paraData['data'].length > 0}}
                                    <div class="para-unmore f-gap-top">
                                        {{each paraData['data'] as moreData}}
                                        {{if moreData['canTrans']}}
                                            <span class="word-can-trans"><a href="/#en/zh/{{moreData['text'] | encodeURIComponent}}" class="f-link sec-trans" data-stat-id="44">{{moreData['text']}}</a></span>
                                        {{else}}
                                            {{moreData['text']}}
                                        {{/if}}
                                        {{/each}}
                                    </div>
                                    {{/if}}
                                {{else if paraData.tag === 'unsyn'}}
                                    
                                    <div class="para-und f-gap-top-large">
                                        <p><span class="word-can-trans"><a class="f-link sec-trans" href="/#en/zh/{{paraData.enText | encodeURIComponent}}" data-stat-id="44">{{paraData.enText}}</a></span></p>
                                    </div>
                                {{else if paraData.tag === 'unwx'}}
                                    <div class="para-unwx f-gap-top">
                                        <!-- <p class="f-color-brown f-text-through-gray">{{paraData.enText + paraData.chText}}</p> -->
                                        <p class="f-color-brown"><del>{{paraData.enText + paraData.chText}}</del></p>
                                    </div>
                                {{else if paraData.tag === 'unnote'}}
                                    
                                    {{if paraData.data && paraData.data.length > 0}}
                                    <div class="para-unnote f-gap-top-large f-overflow-hidden {{paraData | setNoteOudent}}">
                                        <div class="f-card f-card-with-tag">
                                            <span class="para-unnote-tag">注释</span>
                                            {{each paraData.data as noteData noteIdx}}
                                            {{if noteData.tag === 'unx'}}
                                                <div class="para-unnote-unx f-gap-top">
                                                    <p class="f-color-brown">{{noteData.enText}}<a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{noteData.enText | encodeURIComponent}}" class="operate-btn op-sound"><span class="icon-sound"></span></a></p>
                                                    <p class="f-color-brown">{{noteData.chText}}</p>
                                                </div>
                                            {{else if noteData.tag === 'und'}}
                                                <div class="para-unnote-und {{if noteIdx === 0}}f-gap-top{{else}}f-gap-top-large{{/if}}">
                                                    <p>{{noteData.enText}}</p>
                                                    <p>{{noteData.chText}}</p>
                                                </div>
                                            {{else if noteData.tag === 'unsyn'}}
                                                
                                                <div class="para-unnote-unsyn f-gap-top-large">
                                                    <p><span class="word-can-trans"><a class="f-link sec-trans" href="/#en/zh/{{noteData.enText | encodeURIComponent}}" data-stat-id="44">{{noteData.enText}}</a></span></p>
                                                </div>
                                            {{else if noteData.tag === 'unwx'}}
                                                <div class="para-unnote-unwx f-gap-top">
                                                    <p class="f-color-brown"><del>{{noteData.enText + noteData.chText}}</del></p>
                                                </div>
                                            {{else}}
                                                <div class="para-{{noteData.tag}} f-gap-top">
                                                    <p>{{noteData.enText + noteData.chText}}</p>
                                                </div>
                                            {{/if}}
                                            {{/each}}
                                        </div>
                                    </div>
                                    {{/if}}
                                {{else}}
                                    <div class="para-{{paraData.tag}} f-gap-top">
                                        <p>{{paraData.enText + paraData.chText}}</p>
                                    </div>
                                {{/if}}
                                {{/each}}
                            </div>
                            {{/if}}
                        {{else if unboxData.tag === 'althead'}}
                            <div class="unbox-althead f-overflow-hidden f-gap-top-large">
                                <div class="f-card">
                                    {{if unboxData.chText}}
                                        <h2 class="f-title f-title-bold">{{unboxData.chText}}</h2>
                                    {{else}}
                                        <h2 class="f-title f-title-bold">{{unboxData.enText}}</h2>
                                    {{/if}}
                                    {{if unboxData.data}}
                                        {{if unboxData.data.data && unboxData.data.data.length > 0}}
                                            {{each unboxData.data.data as paraData}}
                                            {{if paraData.tag === 'unx'}}
                                                <div class="para-unx f-gap-top">
                                                    <p class="f-color-brown">{{paraData.enText}}<a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{paraData.enText | encodeURIComponent}}" class="operate-btn op-sound" >
                                                <span class="icon-sound"></span>
                                            </a></p>
                                                    <p class="f-color-brown">{{paraData.chText}}</p>
                                                </div>
                                            {{else if paraData.tag === 'und'}}
                                                <div class="para-und">
                                                    {{if paraData.enText}}
                                                        <p class="f-gap-top">{{paraData.enText}}</p>
                                                    {{/if}}
                                                    <!-- <p>{{#paraData.chText | splitTextByMark:'。'}}</p> -->
                                                    {{if paraData.chText}}
                                                    <div class="f-gap-top">
                                                        {{#paraData.chText | splitTextByMark:'。'}}
                                                    </div>
                                                    {{/if}}
                                                </div>
                                            {{else if paraData.tag === 'unsyn'}}
                                                
                                                <div class="para-und f-gap-top-large">
                                                    <p><span class="word-can-trans"><a class="f-link sec-trans" href="/#en/zh/{{paraData.enText | encodeURIComponent}}" data-stat-id="44">{{paraData.enText}}</a></span></p>
                                                </div>
                                            {{else if paraData.tag === 'unwx'}}
                                                <div class="para-unwx f-gap-top">
                                                    <!-- <p class="f-color-brown f-text-through-gray">{{paraData.enText + paraData.chText}}</p> -->
                                                    <p class="f-color-brown"><del>{{paraData.enText + paraData.chText}}</del></p>
                                                </div>
                                            {{else}}
                                                <div class="para-{{paraData.tag}} f-gap-top">
                                                    <p>{{paraData.enText + paraData.chText}}</p>
                                                </div>
                                            {{/if}}
                                            {{/each}}
                                        {{/if}}
                                    {{/if}}
                                </div>
                            </div>
                        {{else if unboxData.tag === 'patterns'}}
                            <div class="unbox-patterns f-gap-top-large">
                                <h2 class="f-title f-title-bold">常用搭配</h1>
                                {{if unboxData.data && unboxData.data.length > 0}}
                                    {{each unboxData.data as patternData}}
                                        
                                        {{if patternData.data && patternData.data.length > 0}}
                                            {{each patternData.data as paraData}}
                                            {{if paraData.tag === 'unx'}}
                                                <div class="para-unx">
                                                    <p class="f-color-brown">{{paraData.enText}}<a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{paraData.enText | encodeURIComponent}}" class="operate-btn op-sound" >
                                                    <span class="icon-sound"></span></a></p>
                                                    <p class="f-color-brown">{{paraData.chText}}</p>
                                                </div>
                                            {{else if paraData.tag === 'und'}}
                                                <div class="para-und f-gap-top">
                                                    <!--<p>{{paraData.enText + paraData.chText}}</p>-->
                                                    <p>{{paraData.enText | addSpaceAroundMark:'/'}}</p>
                                                </div>
                                            {{else if paraData.tag === 'unsyn'}}
                                                
                                                <div class="para-und f-gap-top-large">
                                                    <p><span class="word-can-trans"><a class="f-link sec-trans" href="/#en/zh/{{paraData.enText | encodeURIComponent}}" data-stat-id="44">{{paraData.enText}}</a></span></p>
                                                </div>
                                            {{else}}
                                                <div class="para-{{paraData.tag}}">
                                                    <p>{{paraData.enText + paraData.chText}}</p>
                                                </div>
                                            {{/if}}
                                            {{/each}}
                                        {{/if}}
                                    {{/each}}
                                {{/if}}
                            </div>
                        {{else if unboxData.tag === 'table'}}
                            <div class="unbox-table f-overflow-hidden f-gap-top-large f-gap-bottom-large">
                                {{if unboxData.data && unboxData.data.length > 0}}
                                    <div class="f-table">
                                        <table>
                                            <tbody>
                                                {{if unboxData.data[0]['th']['enText'] || unboxData.data[0]['th']['chText']}}
                                                <tr>
                                                {{each unboxData.data as tableData}}
                                                    <th>{{if tableData.th.enText}}<p>{{tableData.th.enText}}</p>{{/if}}{{if tableData.th.chText}}<p>{{tableData.th.chText}}</p>{{/if}}</th>
                                                {{/each}}
                                                </tr>
                                                {{/if}}
                                                {{each unboxData.data[0].tds as val idx}}
                                                    <tr>
                                                    {{each unboxData.data as tableData}}
                                                        <td>{{if tableData.tds[idx].enText}}<p>{{tableData.tds[idx].enText}}</p>{{/if}}{{if tableData.tds[idx].chText}}<p>{{tableData.tds[idx].chText}}</p>{{/if}}</td>
                                                    {{/each}}
                                                    </tr>
                                                {{/each}}
                                            </tbody>
                                        </table>
                                    </div>
                                {{/if}}
                            </div>
                        {{/if}}
                    {{/each}}
                {{/if}}
                </div>
                {{/each}}
            </div>
            </section>
        </script>
        <script type="text/html" id="tplOxfordEntryInlinesInfo">
            {{each $data['data'] as infoData infoIdx}}<!--
                -->{{if infoData['tag'] === 's'}}<!--
                    -->{{infoData['s_text']}}<!--
                    -->{{if infoIdx !== $data['data'].length - 1}}<!--
                        -->{{if $data['data'][infoIdx + 1] && ($data['data'][infoIdx + 1]['tag'] === 's' || $data['data'][infoIdx + 1]['tag'] === 'r' || $data['data'][infoIdx + 1]['tag'] === 'g')}}, {{else}} {{/if}}<!--
                    -->{{/if}}<!--
                -->{{else if infoData['tag'] === 'r'}}<!--
                    -->{{infoData['r_text']}}<!--
                    -->{{if infoIdx !== $data['data'].length - 1}}<!--
                        -->{{if $data['data'][infoIdx + 1] && ($data['data'][infoIdx + 1]['tag'] === 's' || $data['data'][infoIdx + 1]['tag'] === 'r' || $data['data'][infoIdx + 1]['tag'] === 'g')}}, {{else}} {{/if}}<!--
                    -->{{/if}}<!--
                -->{{else if infoData['tag'] === 'if'}}<!--
                    -->{{infoData['enText']}}<!--
                    -->{{if infoIdx !== $data['data'].length - 1}}<!--
                        -->{{if $data['data'][infoIdx + 1] && $data['data'][infoIdx + 1]['tag'] === 'cm'}} {{else}}, {{/if}}<!--
                    -->{{/if}}<!--
                -->{{else if infoData['tag'] === 'g'}}<!--
                    -->{{each infoData['data'] as gData}}<!--
                        -->{{if gData['hoverText']}}<!--
                            --><span class="entry-hover data-hover-tip" data-hover-tip-text="{{gData['hoverText']}}">{{gData['text']}}</span><!--
                        -->{{else}}<!--
                            -->{{gData['text']}}<!--
                        -->{{/if}}<!--
                    -->{{/each}}<!--
                    -->{{if infoIdx !== $data['data'].length - 1}}<!--
                        -->{{if $data['data'][infoIdx + 1] && ($data['data'][infoIdx + 1]['tag'] === 's' || $data['data'][infoIdx + 1]['tag'] === 'g')}}, {{else if $data['data'][infoIdx + 1] && $data['data'][infoIdx + 1]['tag'] === 'r'}}<span class="entry-vsg-sp-comma">, </span> {{else}} {{/if}}<!--
                    -->{{/if}}<!--
                -->{{else if infoData['tag'] === 'il'}}<!--
                    -->{{each infoData['data'] as ilData}}<!--
                        -->{{if ilData['hoverText']}}<!--
                            --><span class="entry-hover data-hover-tip" data-hover-tip-text="{{ilData['hoverText']}}">{{ilData['text']}}</span><!--
                        -->{{else}}<!--
                            -->{{ilData['text']}}<!--
                        -->{{/if}}<!--
                    -->{{/each}}<!--
                    -->{{if infoIdx !== $data['data'].length - 1}}<!--
                        -->{{if $data['data'][infoIdx + 1] && ($data['data'][infoIdx + 1]['tag'] === 'cm' || $data['data'][infoIdx + 1]['tag'] === 'if')}} {{else}}, {{/if}}<!--
                    -->{{/if}}<!--
                -->{{else if infoData['tag'] === 'v' || infoData['tag'] === 'vs' || infoData['tag'] === 'vc'}}<!--
                    -->{{infoData['enText']}}{{if infoData['tm']}}{{infoData['tm']}}{{/if}}<!--
                    -->{{if infoIdx !== $data['data'].length - 1}}<!--
                        -->{{if $data['data'][infoIdx + 1] && ($data['data'][infoIdx + 1]['tag'] === 'v' || $data['data'][infoIdx + 1]['tag'] === 'vs' || $data['data'][infoIdx + 1]['tag'] === 'vc' || $data['data'][infoIdx + 1]['tag'] === 'r')}}, {{else}} {{/if}}<!--
                    -->{{/if}}<!--
                -->{{else if infoData['tag'] === 'co'}}<!--
                    -->{{infoData['enText']}}{{if infoData['tm']}}{{infoData['tm']}}{{/if}}<!--
                    -->{{if infoIdx !== $data['data'].length - 1}}<!--
                        -->{{if $data['data'][infoIdx + 1] && $data['data'][infoIdx + 1]['tag'] === 'cm'}} {{else}}, {{/if}}<!--
                    -->{{/if}}<!--
                -->{{else if infoData['tag'] === 'cm'}}<!--
                    -->{{if infoData['chText']}}<!--
                    -->{{infoData['enText']}} {{infoData['chText']}}<!--
                    -->{{else}}<!--
                    -->{{infoData['enText']}}<!--
                    -->{{/if}} <!--
                -->{{/if}}<!--
            -->{{/each}}
        </script>
        <script type="text/html" id="tplOxfordEntryInlines">
            {{each $data as item}}
                {{if item['tag'] === 'grs'}}
                    <span class="entry-grs"><!--
                    -->[{{each item['data'] as grsData grsIdx}}<!--
                        -->{{each grsData['data'] as grData}}<!--
                            -->{{if grData['hoverText']}}<!--
                                --><span class="entry-hover data-hover-tip" data-hover-tip-text="{{grData['hoverText']}}">{{grData['text']}}</span><!--
                            -->{{else}}<!--
                                -->{{grData['text']}}<!--
                            -->{{/if}}<!--
                        -->{{/each}}<!--
                        -->{{if grsIdx !== item['data'].length - 1}}, {{/if}}<!--
                    -->{{/each}}]<!--
                    --></span>
                {{else if item['tag'] === 'pts'}}
                    <span class="entry-pts"><!--
                    -->[{{each item['data'] as ptsData ptsIdx}}<!--
                        -->{{each ptsData['data'] as ptData}}<!--
                            -->{{if ptData['hoverText']}}<!--
                                --><span class="entry-hover data-hover-tip" data-hover-tip-text="{{ptData['hoverText']}}">{{ptData['text']}}</span><!--
                            -->{{else}}<!--
                                -->{{ptData['text']}}<!--
                            -->{{/if}}<!--
                        -->{{/each}}<!--
                        -->{{if ptsIdx !== item['data'].length - 1}}
                            {{if item['data'][ptsIdx + 1] && item['data'][ptsIdx + 1]['pt'] === 'advprep' && item['data'][ptsIdx + 1]['data'] && item['data'][ptsIdx + 1]['data'][0] && item['data'][ptsIdx + 1]['data'][0]['tag'] !== 'freq'}} {{else}}, {{/if}}
                        {{/if}}<!--
                    -->{{/each}}]<!--
                    --></span>
                {{else if item['tag'] === 'pvpts'}}
                    <span class="entry-pts"><!--
                    -->{{each item['data'] as ptsData ptsIdx}}<!--
                        -->{{each ptsData['data'] as ptData}}<!--
                            -->{{if ptData['hoverText']}}<!--
                                --><span class="entry-hover data-hover-tip" data-hover-tip-text="{{ptData['hoverText']}}">{{ptData['text']}}</span><!--
                            -->{{else}}<!--
                                -->{{ptData['text']}}<!--
                            -->{{/if}}<!--
                        -->{{/each}}<!--
                        -->{{if ptsIdx !== item['data'].length - 1}}, {{/if}}<!--
                    -->{{/each}}<!--
                    --></span>
                {{else if item['tag'] === 'info'}}
                    <span class="entry-info"><span class="entry-info-left">(</span>{{include 'tplOxfordEntryInlinesInfo' item}}<span class="entry-info-right">)</span></span>
                {{else if item['tag'] === 'ds' || item['tag'] === 'dc' || item['tag'] === 'u'}}
                    <span class="entry-ds">({{item.enText}} {{item.chText}})</span>
                {{else if item['tag'] === 'ab'}}
                    <span class="entry-ab">(abbr. {{item.ab_text}})</span>
                {{else if item['tag'] === 'sym'}}
                    <span class="entry-sym">(symb {{item.sym_text}})</span>
                {{/if}}
            {{/each}}
        </script>
        <script type="text/html" id="tplOxfordEntryXR">
            <!-- 待确认 -->
            {{if $data['xt'] === 'id' && $data['data']}}
                {{#$data | getIdsgHtml}}
            <!-- syn表示同义词，待确认 -->
            {{else if $data['xt'] === 'syn' || $data['xt'] === 'opp' || $data['xt'] === 'see' || $data['xt'] === 'see.c' || $data['xt'] === 'cp' || $data['xt'] === 'rn' || $data['xt'] === 'useat' || $data['xt'] === 'arrow'}}
                {{if $data['data'] && $data['data'].length > 0}}
                <div class="entry-xr {{if $data['xt'] === 'arrow' || $data['xt'] === 'cp' || $data['xt'] === 'rn' || $data['xt'] === 'see' || $data['xt'] === 'see.c' || $data['xt'] === 'useat'}}entry-xr-more{{/if}} f-gap-top">
                    {{$data['xt'] | genXRPrefix}}
                    {{each $data['data'] as xrsData xrsIdx}}<!--
                        -->{{if xrsData['data'] && xrsData['data'].length > 0}}<!--
                        -->{{each xrsData['data'] as xrData}}<!--
                            -->{{if xrData['hoverText']}}<!--
                                --><span class="entry-hover data-hover-tip" data-hover-tip-text="{{xrData['hoverText']}}">{{xrData['text']}}</span><!--
                            -->{{else if xrData['canTrans']}}<!--
                                --><span class="word-can-trans"><a href="/#en/zh/{{xrData['text'] | encodeURIComponent}}" class="f-link sec-trans" data-stat-id="45">{{xrData['text']}}</a></span><!--
                            -->{{else}}<!--
                                -->{{xrData['text']}}<!--
                            -->{{/if}}<!--
                        -->{{/each}}<!--
                        -->{{if xrsIdx !== $data['data'].length - 1}}, {{/if}}<!--
                        -->{{/if}}<!--
                    -->{{/each}}
                </div>
                {{/if}}
            {{else}}
            {{if $data['data'] && $data['data'].length > 0}}
                {{each $data['data'] as xrsData}}
                {{if xrsData['data'] && xrsData['data'].length > 0}}
                <div class="entry-xr f-gap-top">
                    {{each xrsData['data'] as xrData}}
                        {{if xrData['hoverText']}}
                            <span class="entry-hover data-hover-tip" data-hover-tip-text="{{xrData['hoverText']}}">{{xrData['text']}}</span>
                        {{else if xrData['canTrans']}}
                            <span class="word-can-trans"><a href="/#en/zh/{{xrData['text'] | encodeURIComponent}}" class="f-link sec-trans" data-stat-id="45">{{xrData['text']}}</a></span>
                        {{else}}
                            {{xrData['text']}}
                        {{/if}}
                    {{/each}}
                </div>
                {{/if}}
                {{/each}}
            {{/if}}
            {{/if}}
        </script>
        <script type="text/html" id="tplOxfordEntryEtym">
            <div class="entry-etym f-gap-top-large">
                <p><span class="entry-bracket-ch">【</span>词源】{{$data.enText}} {{$data.chText}}</p>
            </div>
            <!--TODO etym 需要 check 一下有 没有 xrData -->
        </script>
        <script type="text/html" id="tplOxfordEntryNormal">
            {{if $data['tag'] === 'a'}}
                <p class="entry-a f-gap-top">
                    {{if $data['before']}}{{include 'tplOxfordEntryInlines' $data['before']}}{{/if}}
                    {{$data['texts'] | joinByMark:','}}
                    {{if $data['after']}}{{include 'tplOxfordEntryInlines' $data['after']}}{{/if}}
                </p>
            {{else if $data['tag'] === 'as'}}
                {{if $data['before'] || $data['after'] || ($data['data'] && $data['data'].length > 0)}}
                    <div class="entry-a f-gap-top">
                    {{if $data['before']}}{{include 'tplOxfordEntryInlines' $data['before']}}{{/if}}
                    {{if $data['data'] && $data['data'].length > 0}}
                    {{each $data['data'] as asData asIdx}}
                        {{if asData['data'] && asData['data'].length > 0}}
                            {{each asData['data'] as aData}}
                                {{if aData['tag'] === 'grs'}}
                                <span class="entry-grs"><!--
                                -->[{{each aData['data'] as grsData grsIdx}}<!--
                                    -->{{each grsData['data'] as grData}}<!--
                                        -->{{if grData['hoverText']}}<!--
                                            --><span class="entry-hover data-hover-tip" data-hover-tip-text="{{grData['hoverText']}}">{{grData['text']}}</span><!--
                                        -->{{else}}<!--
                                            -->{{grData['text']}}<!--
                                        -->{{/if}}<!--
                                    -->{{/each}}<!--
                                    -->{{if grsIdx !== aData['data'].length - 1}}, {{/if}}<!--
                                -->{{/each}}]<!--
                                --></span>
                                {{else}}{{aData.text}}{{/if}}
                            {{/each}}{{if asData['tm']}}{{asData['tm']}}{{/if}}{{if asIdx !== $data['data'].length - 1}}, {{/if}}
                        {{/if}}
                    {{/each}}
                    {{/if}}
                    {{if $data['after']}}{{include 'tplOxfordEntryInlines' $data['after']}}{{/if}}
                    </div>
                {{/if}}
            {{else if $data['tag'] === 'cf' || $data['tag'] === 'cc'}}
                <p class="entry-cf f-gap-top">
                    {{if $data['before']}}{{include 'tplOxfordEntryInlines' $data['before']}}{{/if}}
                    {{$data['texts'] | joinByMark:'**'}}
                    {{if $data['after']}}{{include 'tplOxfordEntryInlines' $data['after']}}{{/if}}
                </p>
            <!-- d表示一个释义项中的中英文解释 -->
            {{else if $data['tag'] === 'd' || $data['tag'] === 'ud'}}
                <p class="entry-d f-gap-top">
                    <!-- 待确认 -->
                    {{if $data['before']}}{{include 'tplOxfordEntryInlines' $data['before']}}{{/if}}
                    {{$data.chText}}
                    <br>
                    {{$data.enText}}
                    {{if $data['after']}}{{include 'tplOxfordEntryInlines' $data['after']}}{{/if}}
                </p>
                <!-- 待确认 -->
                {{if $data['xrs']}}
                    {{each $data['xrs'] as xrData}}
                        {{include 'tplOxfordEntryXR' xrData}}
                    {{/each}}
                {{/if}}
            {{else if $data['tag'] === 'x'}}
                <div class="entry-x f-color-brown f-gap-top">
                    <p class="entry-x-en">
                        {{if $data['before']}}{{include 'tplOxfordEntryInlines' $data['before']}}{{/if}}
                        {{$data.enText}}<a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{$data.enText | encodeURIComponent}}" class="operate-btn op-sound" ><span class="icon-sound"></span></a>
                    </p>
                    <p class="entry-x-zh">
                    {{$data.chText}}
                    </p>
                </div>
                {{if $data['xrs']}}
                    {{each $data['xrs'] as xrData}}
                        {{include 'tplOxfordEntryXR' xrData}}
                    {{/each}}
                {{/if}}
                {{if $data['after']}}
                <div class="entry-alone f-gap-top">
                    {{include 'tplOxfordEntryInlines' $data['after']}}
                </div>
                {{/if}}
            {{else if $data['tag'] === 'xrs'}}
                {{include 'tplOxfordEntryXR' $data}}
            {{else if $data['tag'] === 'help'}}
                {{include 'tplOxfordEntryHelp' $data}}
            {{else if $data['tag'] === 'ifs-g'}}
                {{include 'tplOxfordEntryIfsg' $data}}
            {{else if $data['tag'] === 'p'}}
                <div class="entry-p">
                    {{if $data['before']}}<p class="entry-alone f-gap-top">{{include 'tplOxfordEntryInlines' $data['before']}}</p>{{/if}}
                    <p class="f-gap-top">{{$data['p_text']}}</p>
                    {{if $data['after']}}<p class="entry-alone f-gap-top">{{include 'tplOxfordEntryInlines' $data['after']}}</p>{{/if}}
                </div>
            {{else if $data['tag'] === 'vs-g'}}
                {{if $data['data'] && $data['data'].length > 0}}
                <div class="entry-vsg f-gap-top-large">
                    <!-- <span class="entry-bracket-ch">【</span>变体】 -->
                    <span class="entry-vsg-label {{$data['data'][0] | judgeIfG}}">also </span>
                    {{each $data['data'] as vsgData}}
                        {{if vsgData['tag'] === 'alone'}}
                            {{include 'tplOxfordEntryInlines' vsgData['data']}}
                        {{else if vsgData['tag'] === 'ifs-g'}}
                            {{include 'tplOxfordEntryIfsg' vsgData}}
                        {{/if}}
                    {{/each}}
                </div>
                {{/if}}
            {{else if $data['tag'] === 'etym'}}
                {{include 'tplOxfordEntryEtym' $data}}
            {{else if $data['tag'] === 'alone'}}
                <div class="entry-alone f-gap-top">
                    {{include 'tplOxfordEntryInlines' $data['data']}}
                </div>
            {{/if}}
        </script>
        <script type="text/html" id="tplOxfordEntryIfsg">
            {{if $data['data'] && $data['data'].length > 0}}
            <div class="entry-ifsg f-gap-top-large">
                <!-- <span class="entry-bracket-ch">【</span>不规则形式】 -->
                <span class="entry-ifsg-label entry-bracket-ch {{$data['data'][0] | judgeIfCo}}">【不规则形式】</span>
                {{each $data['data'] as ifsgData}}
                    {{if ifsgData['tag'] === 'help'}}
                        {{include 'tplOxfordEntryHelp' ifsgData}}
                    {{else if ifsgData['tag'] === 'alone'}}
                        {{include 'tplOxfordEntryInlines' ifsgData['data']}}
                    {{else if ifsgData['tag'] === 'if-g'}}
                        {{each ifsgData['data'] as ifgData ifgIdx}}
                        {{if ifgData['tag'] === 'alone'}}
                            {{include 'tplOxfordEntryInlines' ifgData['data']}}{{if ifgIdx !== ifsgData['data'].length - 1}},{{/if}}
                        {{/if}}
                        {{/each}}
                    {{else}}
                    {{/if}}
                {{/each}}
            </div>
            {{/if}}
        </script>
        <script type="text/html" id="tplOxfordEntryHelp">
            {{if $data['data'] && $data['data'].length > 0}}
            <div class="entry-help f-gap-top-large">
                <span class="entry-bracket-ch">【</span>帮助说明】
                {{each $data['data'] as helpData}}
                    {{if helpData['tag'] === 'x'}}
                    <div class="entry-x f-color-brown f-gap-top">
                        <p class="entry-x-en">
                            {{if helpData['before']}}{{include 'tplOxfordEntryInlines' helpData['before']}}{{/if}}
                            {{helpData.enText}}<a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{helpData.enText | encodeURIComponent}}" class="operate-btn op-sound" ><span class="icon-sound"></span></a>
                        </p>
                        {{if helpData.chText}}
                        <p class="entry-x-zh">
                        {{helpData.chText}}
                        </p>
                        {{/if}}
                    </div>
                    {{else if helpData['tag'] === 'wx'}}
                    <p class="entry-wx f-color-brown f-gap-top"><del>{{helpData.enText}}</del></p>
                    {{else if helpData['tag'] === 'gi'}}
                    {{each helpData['data'] as giData}}
                        {{if giData['hoverText']}}
                        <span class="entry-hover data-hover-tip" data-hover-tip-text="{{giData['hoverText']}}">{{giData['text']}}</span>
                        {{else}}
                        {{giData['text']}}
                        {{/if}}
                    {{/each}}
                    {{else}}{{helpData.text}} {{/if}}
                {{/each}}
            </div>
            {{/if}}
        </script>
        <!-- NG对应一种词性下的一种释义 -->
        <script type="text/html" id="tplOxfordEntryNG">
            {{if $data['data'] && $data['data'].length > 0}}
            <div class="entry-ndg f-gap-top-large">
                <span class="ndg-n {{if $data['n'] > 9}}ndg-n-left{{/if}}">{{$data['n']}}</span>
                {{each $data['data'] as ngData}}
                    {{include 'tplOxfordEntryNormal' ngData}}
                {{/each}}
            </div>
            {{/if}}
        </script>
        <!-- PG对应一种词性 -->
        <script type="text/html" id="tplOxfordEntryPG">
            {{if $data['data'] && $data['data'].length > 0}}
            <div class="entry-pg f-gap-top-large">
                {{each $data['data'] as pgData pgIdx}}
                    <!-- 词性字符串 -->
                    {{if pgData['tag'] === 'p'}}
                        <div class="entry-p entry-p-ib">
                            <p class="f-title f-title-bold pg-p f-gap-top">{{pgData['p_text']}}</p>
                            {{if $data['data'][pgIdx + 1] && $data['data'][pgIdx + 1]['tag'] === 'p'}}, {{/if}}
                        </div>
                    <!-- 词性下的一种释义 -->
                    {{else if pgData['tag'] === 'n-g'}}
                        {{include 'tplOxfordEntryNG' pgData}}
                    {{else if pgData['tag'] === 'sd-g'}}
                        {{if pgData['data'] && pgData['data'].length > 0}}
                        <div class="entry-sdg {{if pgIdx === 0}}f-gap-top{{else}}f-gap-top-large{{/if}}">
                        {{each pgData['data'] as sdgData sdgIdx}}
                            {{if sdgData['tag'] === 'sd'}}
                                <p class="sdg-sd">{{sdgData.chText}} {{sdgData.enText}}</p>
                            {{else if sdgData['tag'] === 'n-g'}}
                                {{include 'tplOxfordEntryNG' sdgData}}
                            {{else}}
                                <div class="entry-outdent">
                                {{include 'tplOxfordEntryNormal' sdgData}}
                                </div>
                            {{/if}}
                        {{/each}}
                        </div>
                        {{/if}}
                    {{else if pgData['tag'] === 'ids-g'}}
                        {{#pgData | getIdsgHtml}}
                    {{else if pgData['tag'] === 'pvs-g'}}
                        {{if pgData['data'] && pgData['data'].length > 0}}
                        <div class="entry-pvsg entry-card f-overflow-hidden f-gap-top-large">
                            <div class="f-card f-card-with-tag">
                                <span class="entry-card-tag">短语动词</span>
                                {{each pgData['data'] as pvsgData pvsgIdx}}
                                <div class="entry-pvg {{if pgData['data'].length > 1}}entry-pvg-outdent{{/if}} {{if pvsgIdx > 0}}f-gap-top-large{{/if}}">
                                    {{each pvsgData['data'] as pvgData}}
                                    {{if pvgData['tag'] === 'pv'}}
                                        <p class="pvg-pv">{{pvgData.enText}}</p>
                                    {{else if pvgData['tag'] === 'n-g'}}
                                        {{include 'tplOxfordEntryNG' pvgData}}
                                    {{else}}
                                        {{include 'tplOxfordEntryNormal' pvgData}}
                                    {{/if}}
                                    {{/each}}
                                </div>
                                {{/each}}
                            </div>
                        </div>
                        {{/if}}
                    {{else if pgData['tag'] === 'dr-g'}}
                        {{include 'tplOxfordEntryDrg' pgData}}
                    {{else}}
                        {{include 'tplOxfordEntryNormal' pgData}}
                    {{/if}}
                {{/each}}
                {{if $data['wfg'] && $data['wfg'].length > 0}}
                    <div class="entry-wfg entry-card f-overflow-hidden f-gap-top-large">
                        <div class="f-card f-card-with-tag">
                            <span class="entry-card-tag">词族</span>
                            {{each $data['wfg'] as wfgData}}
                            <p class="wfg-row"><!--
                                --><span class="word-can-trans"><a class="f-link sec-trans" href="/#en/zh/{{wfgData['wfw'] | encodeURIComponent}}" data-stat-id="45">{{wfgData['wfw']}}</a></span>&nbsp;<!--
                                -->{{if wfgData['wfp'] && wfgData['wfp'].length}}<!--
                                    -->{{each wfgData['wfp'] as wfpData}}<!--
                                        --><span>{{wfpData}}&nbsp;</span><!--
                                    -->{{/each}}<!--
                                -->{{/if}}<!--
                                -->{{if wfgData['wfo']}}<!--
                                    --><span>{{wfgData['wfo']}}</span><!--
                                -->{{/if}}<!--
                            --></p>
                            {{/each}}
                        </div>
                    </div>
                {{/if}}
            </div>
            {{/if}}
        </script>
        <script type="text/html" id="tplOxfordEntryXrIdsg">
            <div class="entry-idsg entry-card f-overflow-hidden f-gap-top-large">
                <div class="f-card f-card-with-tag">
                    <span class="entry-card-tag">习语</span>
                    {{each $data['data'] as idsgData idsgIdx}}
                    <div class="entry-idg f-overflow-hidden {{if $data['data'].length > 1}}entry-idg-outdent{{/if}} {{if idsgIdx > 0}}f-gap-top-large{{/if}} {{idsgData['data'] | judgeIfId}}">
                        {{each idsgData['data'] as idgData}}
                            {{if idgData['tag'] === 'id'}}
                                {{if idgData['before']}}
                                <div class="entry-alone idg-id-before">
                                    {{include 'tplOxfordEntryInlines' idgData['before']}}
                                </div>
                                <p class="idg-id f-gap-top">{{idgData.enText}}</p>
                                {{else}}
                                <p class="idg-id">{{idgData.enText}}</p>
                                {{/if}}
                            {{else if idgData['tag'] === 'n-g'}}
                                {{include 'tplOxfordEntryNG' idgData}}
                            {{else}}
                                {{include 'tplOxfordEntryNormal' idgData}}
                            {{/if}}
                        {{/each}}
                    </div>
                    {{/each}}
                </div>
            </div>
        </script>
        <script type="text/html" id="tplOxfordEntryDrg">
            {{if $data['data'] && $data['data'].length > 0}}
            <div class="entry-drg f-gap-top-large">
            {{each $data['data'] as drgData}}
                {{if drgData['tag'] === 'dr'}}
                    <span class="entry-bracket-ch">【</span>派生词】{{each drgData['data'] as dr idx}}{{if dr['canTrans']}}<span class="word-can-trans"><a class="f-link sec-trans" href="/#en/zh/{{dr['text'] | encodeURIComponent}}" data-stat-id="45">{{dr['text']}}</a></span>{{else}}{{dr['text']}}{{/if}}{{if idx < drgData['data'].length - 1}}, {{/if}}{{/each}}
                {{else if drgData['tag'] === 'p'}}
                    <span class="dr-p f-gap-top">{{drgData['p_text']}}</span>
                {{else}}
                    {{include 'tplOxfordEntryNormal' drgData}}
                {{/if}}
            {{/each}}
            </div>
            {{/if}}
        </script>
        <script type="text/html" id="tplOxfordEntry">
            <header class="section-header">牛津词典</header>
            <div id="cont-entry" class="details-cont-item details-cont-item-tail item-oxford">
                {{each $data as entry}}
                {{if entry['data'] && entry['data'].length > 0}}
                <div class="oxford-entry f-result">
                    {{each entry['data'] as entryData}}
                        {{if entryData['tag'] === 'h-g' && entry['hasPG'] === 'n'}}
                            {{include 'tplOxfordEntryPG' entryData}}
                        {{else if entryData['tag'] === 'p-g'}}
                            {{include 'tplOxfordEntryPG' entryData}}
                        {{else if entryData['tag'] === 'dr-g'}}
                            {{include 'tplOxfordEntryDrg' entryData}}
                        {{else if entryData['tag'] !== 'h-g'}}
                            <div class="entry-outdent-small f-gap-top">
                                {{include 'tplOxfordEntryNormal' entryData}}
                            </div>
                        {{/if}}
                    {{/each}}
                </div>
                {{/if}}
                {{/each}}
            </div>
        </script>
        <script type="text/html" id="tplOxford">
            <section class="result-section oxford-container {{if tplData.onlyEntry}}need-collapse{{/if}}" data-nav-text="牛津词典" {{if tplData.onlyEntry}}data-collapse-height="700"{{/if}} data-forbin-select="y">
                {{if tplData.entry && tplData.entry.length > 0}}
                    {{if !tplData.onlyEntry}}
                    <section class="result-section nav-sub-section need-collapse" data-nav-text="详细释义" data-collapse-height="700">
                    {{/if}}
                    {{include 'tplOxfordEntry' tplData.entry}}
                    <p class="section-tip-bottom">百度翻译对原文进行调整，例句发音部分来自牛津</p>
                    {{if !tplData.onlyEntry}}
                    </section>
                    {{/if}}
                {{/if}}
                {{if tplData.unbox && tplData.unbox.length > 0}}
                    {{each tplData.unbox as eachUnbox}}
                        {{if eachUnbox.data && eachUnbox.data.length > 0}}
                        {{include 'tplOxfordUnbox' eachUnbox}}
                        {{/if}}
                    {{/each}}
                {{/if}}
            </section>
        </script><script type="text/html" id="tplCollins">
        
            <section class="result-section need-collapse" data-nav-text="柯林斯词典" data-collapse-height="700">
                <header class="section-header">柯林斯词典</header>
                <div id="cont-collins" class="details-cont-item item-collins collins">
                        <div class="collins-wrap">
                            <div class='collins-slot-title'>
                                <h3 class="strong">{{#tplData['word_name']}}</h3>
                                {{if tplData['frequence']}}
                                <div class='pin-num'>
                                    <span class='pin-word'>频次</span>
                                    <span class='pin-icon'>
                                        <i {{ if tplData['frequence'] >= 1 }} class='check' {{/if}}></i>
                                        <i {{ if tplData['frequence'] >= 2 }} class='check' {{/if}}></i>
                                        <i {{ if tplData['frequence'] >= 3 }} class='check' {{/if}}></i>
                                        <i {{ if tplData['frequence'] >= 4 }} class='check' {{/if}}></i>
                                        <i {{ if tplData['frequence'] >= 5 }} class='check' {{/if}}></i>
                                    </span>
                                </div>
                                {{/if}}
                        </div>
                        {{if tplData['menus']}}
                        {{each tplData['menus'] as mVal midx}}
                        <h3 class="collins-title" id="1359874{{mVal['item_id']}}">
                            {{mVal['item']}}{{mVal['tran']}}
                        </h3>
                        <div>
                            <ul class="collins-item">
                                
                                {{if mVal['usage_note']}}
                                
                                <li class="collins-type-item item-boxr">
                                    <div class="boxr-content">
                                        <p>{{#mVal['usage_note']['note']}}</p>
                                        <p>{{#mVal['usage_note']['translation']}}</p>
                                    </div>
                                </li>
                                {{/if}}
                                {{if mVal['entry']}}
                                
                                {{each mVal['entry'] as entryVal}}
                                
                                {{if entryVal['type'] === 'boxr'}}
                                <li class="collins-type-item item-boxr" >
                                    <div class="boxr-content">
                                        {{each entryVal['value'] as val}}
                                        
                                        <p>{{#val['boxr_value']}}</p>
                                        {{/each}}
                                    </div>
                                </li>
                                
                                {{else if entryVal['type'] === 'boxu'}}
                                <li class="collins-type-item item-boxu">
                                    <div class="boxu-content">
                                        <h4 class="boxu-title">Usage Note:</h4>
                                        {{each entryVal['value'] as val}}
                                        <p class="boxu_usage">{{#val['boxu_usage']}}</p>
                                        <p class="boxu_tran">{{#val['boxu_tran']}}</p>
                                        {{/each}}
                                    </div>
                                </li>
                                
                                {{else if entryVal['type'] === 'rnon' && entryVal['value'] && entryVal['value'].length > 0}}
                                <li class="collins-type-item item-rnon">
                                    <h4 class="rnon-title">{{entryVal['value'][0]['head_word']}}</h4>
                                    {{each entryVal['value'] as val}}
                                    {{if val['mean'] && val['mean'].length > 0 && val['mean'][0]['mean_type'] && val['mean'][0]['mean_type'].length > 0}}
                                    {{each val['mean'][0]['mean_type'] as meanVal}}
                                    {{if meanVal['example']}}
                                    <div class="rnon-example">
                                        <p>
                                            {{#meanVal['example'][0]['ex']}}
                                        </p>
                                        <p>
                                            {{#meanVal['example'][0]['tran']}}
                                        </p>
                                    </div>
                                    {{/if}}
                                    {{/each}}
                                    {{/if}}
                                    {{/each}}
                                </li>
                                
                                {{else if entryVal['type'] === 'mean' && entryVal['value'] && entryVal['value'].length > 0 && entryVal['isValid']}}
                                <li class="collins-type-item item-mean">
                                    <h4 class="mean-title">
                                        {{if mVal['entry'].length >= 1}}
                                        <span class="mean-id {{if entryVal['idxid'] > 9}}mean-id-left{{/if}}">{{entryVal['idxid']}}</span>
                                        {{/if}}
                                        <div class="mean-content">
                                            {{if entryVal['value'][0]['mean_type'].length > 0 && entryVal['value'][0]['mean_type'][0]['info_type'] == 'xrse'}}
                                            {{each entryVal['value'][0]['mean_type'][0]['xrse'] as xrseVal}}
                                            <span class="mean-tran">
                                                                    {{#xrseVal['def']}}
                                                                </span>
                                            →see:
                                            <span class="mean-def">
                                                                    {{#xrseVal['xrse_see'] | genCollinsTranAgain}}
                                                                </span>
                                            {{/each}}
                                            {{else if entryVal['value'][0]['mean_type'].length > 0 && entryVal['value'][0]['mean_type'][0]['info_type'] == 'xrsa'}}
                                            {{each entryVal['value'][0]['mean_type'][0]['xrsa'] as xrsaVal}}
                                            See also:
                                            <span class="mean-def">
                                                                {{#xrsaVal['xrsa_see'] | genCollinsTranAgain}}
                                                                </span>
                                            {{/each}}
                                            {{else}}
                                            {{each entryVal['value'][0]['posp'] as pospVal}}
                                            <span class="mean-posp">{{#pospVal['label']}}</span>
                                            {{/each}}
                                            {{if entryVal['value'][0]['tran']}}
                                            <span class="mean-tran">{{#entryVal['value'][0]['tran']}}</span>
                                            <br>
                                            {{/if}}
                                            <span class="mean-def">{{#entryVal['value'][0]['def']}}</span>
                                            {{each entryVal['value'][0]['mean_type'] as mtVal}}
                                            {{if mtVal['info_type'] == 'xrbu'}}
                                            <span>→see usage note at:
                                                                        {{#mtVal['xrbu'][0]['xrbu_see'] | genCollinsTranAgain}}
                                                                    </span>
                                            {{/if}}
                                            {{/each}}
                                            {{/if}}
                                        </div>
                                    </h4>
                                    {{each entryVal['value'][0]['mean_type'] as metVal metidx}}
                                    
                                    {{if metVal['info_type'] == 'example'}}
                                    <div class="mean-example {{if metidx > 0}}hidden{{/if}}">
                                        <p>{{#metVal['example'][0]['ex']}}<a href="javascript:void(0);" class="operate-btn op-sound"><span class="icon-sound"></span></a></p>
                                        <p>{{#metVal['example'][0]['tran']}}</p>
                                    </div>
                                    {{else if metVal['info_type'] == 'posc'}}
                                    <div class="mean-posc">
                                        <h5 class="posc-title">{{#metVal['posc'][0]['def']}}</h5>
                                        {{if metVal['posc'][0]['example'].length > 0}}
                                        <ul class="posc-list">
                                            {{each metVal['posc'][0]['example'] as metexamVal}}
                                            <li>
                                                <p>{{#metexamVal['ex']}}<a href="javascript:void(0);" class="operate-btn op-sound"><span class="icon-sound"></span></a></p>
                                                <p>{{#metexamVal['tran']}}</p>
                                            </li>
                                            {{/each}}
                                        </ul>
                                        {{/if}}
                                    </div>
                                    {{/if}}
                                    {{/each}}
                                </li>
                                {{/if}}
                                {{/each}}
                                {{/if}}
                                {{if mVal['phvb']}}
                                
                                <li class="collins-type-item item-phvb">
                                    <div class="phvb-content">
                                        <p><span>相关词组: </span>
                                            {{each mVal['phvb'] as phvbVal}}
                                            <a href="#en/zh/{{phvbVal['phrase']}}" class="sec-trans">
                                                {{phvbVal['phrase']}}
                                            </a>
                                            {{/each}}
                                        </p>
                                    </div>
                                </li>
                                {{/if}}
                            </ul>
                        </div>
                        {{/each}}
                        {{else if tplData['entry'] || tplData['usage_note'] || tplData['phvb']}}
                        <ul class="collins-item">
                            {{if tplData['usage_note']}}
                            
                            <li class="collins-type-item item-boxr">
                                <div class="boxr-content">
                                    <p>{{#tplData['usage_note']['note']}}</p>
                                    <p>{{#tplData['usage_note']['translation']}}</p>
                                </div>
                            </li>
                            {{/if}}
                            {{if tplData['entry']}}
                            
                            {{each tplData['entry'] as entryVal}}
                            
                            {{if entryVal['type'] === 'boxr'}}
                            <li class="collins-type-item item-boxr" >
                                <div class="boxr-content">
                                    {{each entryVal['value'] as val}}
                                    
                                    <p>{{#val['boxr_value']}}</p>
                                    {{/each}}
                                </div>
                            </li>
                            
                            {{else if entryVal['type'] === 'boxu'}}
                            <li class="collins-type-item item-boxu">
                                <div class="boxu-content">
                                    <h4 class="boxu-title">Usage Note:</h4>
                                    {{each entryVal['value'] as val}}
                                    <p class="boxu_usage">{{#val['boxu_usage']}}</p>
                                    <p class="boxu_tran">{{#val['boxu_tran']}}</p>
                                    {{/each}}
                                </div>
                            </li>
                            
                            {{else if entryVal['type'] === 'rnon' && entryVal['value'] && entryVal['value'].length > 0}}
                            <li class="collins-type-item item-rnon">
                                <h4 class="rnon-title">{{entryVal['value'][0]['head_word']}}</h4>
                                {{each entryVal['value'] as val}}
                                {{if val['mean'] && val['mean'].length > 0 && val['mean'][0]['mean_type'] && val['mean'][0]['mean_type'].length > 0}}
                                {{each val['mean'][0]['mean_type'] as meanVal}}
                                {{if meanVal['example']}}
                                <div class="rnon-example">
                                    <p>
                                        {{#meanVal['example'][0]['ex']}}
                                    </p>
                                    <p>
                                        {{#meanVal['example'][0]['tran']}}
                                    </p>
                                </div>
                                {{/if}}
                                {{/each}}
                                {{/if}}
                                {{/each}}
                            </li>
                            
                            {{else if entryVal['type'] === 'mean' && entryVal['value'] && entryVal['value'].length > 0 && entryVal['isValid']}}
                            <li class="collins-type-item item-mean">
                                <h4 class="mean-title">
                                    {{if tplData['entry'].length >= 1}}
                                    <span class="mean-id {{if entryVal['idxid'] > 9}}mean-id-left{{/if}}">{{entryVal['idxid']}}</span>
                                    {{/if}}
                                    <div class="mean-content">
                                        {{if entryVal['value'][0]['mean_type'].length > 0 && entryVal['value'][0]['mean_type'][0]['info_type'] == 'xrse'}}
                                        {{each entryVal['value'][0]['mean_type'][0]['xrse'] as xrseVal}}
                                        <span class="mean-tran">
                                                                {{#xrseVal['def']}}
                                                            </span>
                                        →see:
                                        <span class="mean-def">
                                                                {{#xrseVal['xrse_see'] | genCollinsTranAgain}}
                                                            </span>
                                        {{/each}}
                                        {{else if entryVal['value'][0]['mean_type'].length > 0 && entryVal['value'][0]['mean_type'][0]['info_type'] == 'xrsa'}}
                                        {{each entryVal['value'][0]['mean_type'][0]['xrsa'] as xrsaVal}}
                                        See also:
                                        <span class="mean-def">
                                                                {{#xrsaVal['xrsa_see'] | genCollinsTranAgain}}
                                                            </span>
                                        {{/each}}
                                        {{else}}
                                        {{each entryVal['value'][0]['posp'] as pospVal}}
                                        <span class="mean-posp">{{#pospVal['label']}}</span>
                                        {{/each}}
                                        {{if entryVal['value'][0]['tran']}}
                                        <span class="mean-tran">{{#entryVal['value'][0]['tran']}}</span>
                                        <br>
                                        {{/if}}
                                        <span class="mean-def">{{#entryVal['value'][0]['def']}}</span>
                                        {{each entryVal['value'][0]['mean_type'] as mtVal}}
                                        {{if mtVal['info_type'] == 'xrbu'}}
                                        <span>→see usage note at:
                                                                    {{#mtVal['xrbu'][0]['xrbu_see'] | genCollinsTranAgain}}
                                                                </span>
                                        {{/if}}
                                        {{/each}}
                                        {{/if}}
                                    </div>
                                </h4>
                                {{each entryVal['value'][0]['mean_type'] as metVal metidx}}
                                
                                {{if metVal['info_type'] == 'example'}}
                                <div class="mean-example {{if metidx > 0}}hidden{{/if}}">
                                    <p>{{#metVal['example'][0]['ex']}}<a href="javascript:void(0);" class="operate-btn op-sound"><span class="icon-sound"></span></a></p>
                                    <p>{{#metVal['example'][0]['tran']}}</p>
                                </div>
                                {{else if metVal['info_type'] == 'posc'}}
                                <div class="mean-posc">
                                    <h5 class="posc-title">{{#metVal['posc'][0]['def']}}</h5>
                                    {{if metVal['posc'][0]['example'].length > 0}}
                                    <ul class="posc-list">
                                        {{each metVal['posc'][0]['example'] as metexamVal}}
                                        <li>
                                            <p>{{#metexamVal['ex']}}<a href="javascript:void(0);" class="operate-btn op-sound"><span class="icon-sound"></span></a></p>
                                            <p>{{#metexamVal['tran']}}</p>
                                        </li>
                                        {{/each}}
                                    </ul>
                                    {{/if}}
                                </div>
                                {{/if}}
                                {{/each}}
                            </li>
                            {{/if}}
                            {{/each}}
                            {{/if}}
                            {{if tplData['phvb']}}
                            
                            <li class="collins-type-item item-phvb">
                                <div class="phvb-content">
                                    <p><span>相关词组: </span>
                                        {{each tplData['phvb'] as phvbVal}}
                                        <a href="#en/zh/{{phvbVal['phrase']}}" class="sec-trans">
                                            {{phvbVal['phrase']}}
                                        </a>
                                        {{/each}}
                                    </p>
                                </div>
                            </li>
                            {{/if}}
                        </ul>
                        {{/if}}
                    </div>
                </div>
            </section>
        </script><script type="text/html" id="tplEnglishmean">
            <section class="result-section need-collapse" data-nav-text="英英释义" data-collapse-height="700">
                <header class="section-header">英英释义</header>
                <div id="cont-edict" class="details-cont-item item-edict english-output">
                    <div class="output-bd">
                        {{each tplData as tplVal}}
                        <div class="english-item">
                            <p class="english-title">{{tplVal['pos']}}</p>
                            {{each tplVal['tr_group'] as trVal tridx}}
                            <dl>
                                <span class="english-folder {{if tridx > 8}}english-folder-left{{/if}}">{{tridx+1}}</span>
                                <dt>
                                    {{#trVal['tr'][0]}}
                                </dt>
                                {{if trVal['example'].length > 0}}
                                {{each trVal['example'] as exVal exIdx}}
                                <dd class="eg-brown">{{#exVal}}<a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{#exVal | encodeURIComponent}}" class="operate-btn op-sound"><span class="icon-sound"></span></a></dd>
                                {{/each}}
                                {{/if}}
                                {{if trVal['similar_word'].length > 0}}
                                <dd class="english-synon">
                                    <span class="english-synonym">Synonym:</span>
                                    <div class="english-synonlink">
                                        {{each trVal['similar_word'] as simVal}}
                                        <a href="/#en/zh/{{simVal}}"
                                           class="sec-trans" data-stat-id="70">
                                            {{simVal}}
                                        </a>
                                        {{/each}}
                                    </div>
                                </dd>
                                {{/if}}
                            </dl>
                            {{/each}}
                        </div>
                        {{/each}}
                    </div>
                    <p class="edit-resource-bottom">数据来源：WordNet</p>
                </div>
            </section>
        </script><script type="text/html" id="tplZhenDict">
            <section class="result-section need-collapse" data-nav-text="汉英大词典" data-collapse-height="700">
                <header class="section-header">汉英大词典</header>
                <div id="cont-hanying" class="details-cont-item item-hedict detail-mean">
                    {{each tplData['symbols'] as symVal symidx}}
                    {{if tplData['symbols'].length > 1}}
                    <span class="hedict-title">
                            {{tplData['word_name']}}<i>[{{symVal['word_symbol']}}]</i>
                        </span>
                    {{/if}}
                    <dl>
                        {{if symVal['parts']}}
                        {{each symVal['parts'] as partsVal}}
                        <dt>
                            [{{partsVal['part_name']}}]
                        </dt>
                        {{each partsVal['means'] as meansVal meansidx}}
                        <dd>
                            {{if partsVal['means'].length >= 1}}
                            <span class="dict-arrow">{{meansidx+1}}</span>
                            {{/if}}
        
                            <p class="word-mean">
                                {{#meansVal['word_mean']}}
                            </p>
                            {{if meansVal['ljs']}}
                            <ul class="eg-brown {{if partsVal['means'].length >= 1}}eg-need-outdent{{/if}}">
                                {{each meansVal['ljs'] as ljsVal}}
                                <li>
                                    <p>
                                        {{#ljsVal['ly']}}
                                    </p>
                                    <p>
                                        {{#ljsVal['ls']}}
                                    </p>
                                </li>
                                {{/each}}
                            </ul>
                            {{/if}}
                        </dd>
                        {{/each}}
                        {{/each}}
                        {{/if}}
                        {{if symVal['cys']}}
                        {{each symVal['cys'] as cysVal}}
                        {{each cysVal['means'] as mVal midx}}
                        <dd>
                            {{if cysVal['means'].length > 1}}
                            <span class="dict-arrow">{{midx+1}}</span>
                            {{/if}}
                            <p>
                                {{#mVal['word_mean']}}
                            </p>
                            {{if mVal['ljs']}}
                            <ul class="eg-brown">
                                {{each mVal['ljs'] as lVal}}
                                <li>
                                    <p>
                                        {{#lVal['ly']}}
                                    </p>
                                    <p>
                                        {{#lVal['ls']}}
                                    </p>
                                </li>
                                {{/each}}
                            </ul>
                            {{/if}}
                        </dd>
                        {{/each}}
                        {{/each}}
                        {{/if}}
                    </dl>
                    {{/each}}
                </div>
            </section>
        </script><script type="text/html" id="tplChinesemean">
            <section class="result-section need-collapse" data-nav-text="中中释义" data-collapse-height="700">
                <header class="section-header">中中释义</header>
                <div id="cont-zdict" class="details-cont-item item-zdict chinese-output">
                    {{if tplData['simple']}}
                    <div class="chinese-simple">
                        {{each tplData['simple']['means'] as meansVal}}
                        <div class="chinese-item">
                            <div class="chinese-title">
                                {{tplData['word']}}
                                {{if meansVal['pinyin']}}
                                <span class="pinyin">[{{meansVal['pinyin']}}]</span>
                                {{/if}}
                            </div>
                            <ul>
                                {{each meansVal['exp'] as expVal expIdx}}
                                {{each expVal['des'] as desVal desIdx}}
                                <li{{if expIdx !== 0 && desIdx === 0}} class="new-exp"{{/if}}>
                                    <p>{{#desVal['main']}}</p>
                                    {{each desVal['sub'] as subVal}}
                                    <p>{{#subVal}}</p>
                                    {{/each}}
                                </li>
                                {{/each}}
                                {{/each}}
                            </ul>
                        </div>
                        {{/each}}
                    </div>
                    {{/if}}
        
                    {{if tplData['chenyu']}}
                    <div class="chinese-detail">
                        <ul>
                            {{if tplData['chenyu']['pinyin']}}
                            <li><b>{{tplData['word']}}</b><span>[{{tplData['chenyu']['pinyin']}}]</span></li>
                            {{/if}}
                            {{if tplData['chenyu']['synonyms']}}
                            <li>[同义词]<span>{{tplData['chenyu']['synonyms']}}</span></li>
                            {{/if}}
                            {{if tplData['chenyu']['antonym']}}
                            <li>[反义词]<span>{{tplData['chenyu']['antonym']}}</span></li>
                            {{/if}}
                            {{if tplData['chenyu']['explain']}}
                            <li>[解释]<span>{{tplData['chenyu']['explain']}}</span></li>
                            {{/if}}
                            {{if tplData['chenyu']['from']}}
                            <li>[出自]<span>{{tplData['chenyu']['from']}}</span></li>
                            {{/if}}
                            {{if tplData['chenyu']['example']}}
                            <li>[例句]<span>{{tplData['chenyu']['example']}}</span></li>
                            {{/if}}
                            {{if tplData['chenyu']['grammer']}}
                            <li>[语法]<span>{{tplData['chenyu']['grammer']}}</span></li>
                            {{/if}}
                        </ul>
                    </div>
                    {{/if}}
                </div>
            </section>
        </script><script type="text/html" id="tplSample">
            <section class="result-section need-collapse sample-section" data-nav-text="双语例句">
                <header class="section-header">双语例句</header>
                <div id="cont-sample" class="details-cont-item details-cont-item-tail item-sample">
                    <div class="sample-wrap">
                        {{if tplData['tag']}}
                        <div class="sample-tagnav">
                            <span class="sample-tagitem sample-all sample-current">全部</span>
                            {{each tplData['tag']}}
                            <span class="sample-tagitem">{{$value}}</span>
                            {{/each}}
                        </div>
                        {{/if}}
                        {{if tplData['double']}}
                        <div class="double-sample">
                            <ol>
                                {{each tplData['double'] as ljVal ljidx}}
                                <li>
                                    <label>{{ljidx + 1}}</label>
                                    <div>
                                        <p class="sample-source">
                                            {{each ljVal[0] as flVal flidx}}<span id="{{flVal[1]}}" high-light-id="{{flVal[2]}}" {{if flVal[3] > 0}}class="high-light"{{/if}}>{{#flVal[0]}}{{if flVal[4]}}{{#flVal[4]}}{{/if}}</span>{{/each}}
                                            {{if (!tplData['badCaseByForce'] && tplData['to_lang'] === 'zh') || (tplData['badCaseByForce'] && tplData['to_lang'] === 'en')}}
                                            <a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{tplData['senData'][ljidx]}}" class="operate-btn op-sound" >
                                                <span class="icon-sound"></span>
                                            </a>
                                            {{/if}}
                                        </p>
                                        <p class="sample-target">
                                            {{each ljVal[1] as slVal slidx}}<span id="{{slVal[1]}}" high-light-id="{{slVal[2]}}" {{if slVal[3] > 0}}class="high-light"{{/if}}>{{slVal[0]}}{{if slVal[4]}}{{slVal[4]}}{{/if}}</span>{{/each}}
                                            {{if (!tplData['badCaseByForce'] && tplData['to_lang'] === 'en') || (tplData['badCaseByForce'] && tplData['to_lang'] === 'zh')}}
                                            <a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{tplData['senData'][ljidx]}}" class="operate-btn op-sound">
                                                <span class="icon-sound"></span>
                                            </a>
                                            {{/if}}
                                        </p>
                                        <p class="sample-resource">
                                            {{if ljVal[3]}}
                                            <span>{{ljVal[3]}}</span>
                                            {{else}}
                                            <span>{{ljVal[2]}}</span>
                                            {{/if}}
                                        </p>
                                    </div>
                                </li>
                                {{/each}}
                            </ol>
                        </div>
                        {{/if}}
        
                        {{if tplData['single']}}
                        <div class="single-sample" {{if tplData['double']}} style="display:none"{{/if}}>
                        <span class="single-sample-tip">抱歉，该词只有单语例句</span>
                        <ol>
                            {{each tplData['single'] as ljSingleVal ljSingleidx}}
                            {{if ljSingleidx > 29}}
                            <li class="sample-hidden">
                                {{else}}
                            <li>
                                {{/if}}
                                <label>{{ljSingleidx + 1}}</label>
                                <div>
                                    <p class="sample-target">
                                        {{each ljSingleVal[0] as flSingleVal flSingleidx}}<span id="{{flSingleVal[1]}}">{{#flSingleVal[0]}}{{if flSingleVal[3]}}{{#flSingleVal[3]}}{{/if}}</span>{{/each}}
                                        {{if tplData['to_lang'] === 'zh'}}
                                        <a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{tplData['senData2'][ljSingleidx]}}" class="operate-btn op-sound" >
                                            <span class="icon-sound"></span>
                                        </a>
                                        {{/if}}
                                    </p>
                                    <p class="sample-resource">
                                        {{if ljSingleVal[2]}}
                                        <span>{{ljSingleVal[2]}}</span>
                                        {{else}}
                                        <span>{{ljSingleVal[1]}}</span>
                                        {{/if}}
                                    </p>
                                </div>
                            </li>
                            {{/each}}
                        </ol>
                    </div>
                    {{/if}}
                </div>
            </section>
        </script>
        
        <script type="text/html" id="tplSampleTagcont">
            {{if tplData['double']}}
            <div class="double-sample">
                <ol>
                    {{each tplData['double'] as ljVal ljidx}}
                    <li>
                        <label>{{ljidx + 1}}</label>
                        <div>
                            <p class="sample-source">
                                {{each ljVal[0] as flVal flidx}}<span id="{{flVal[1]}}" high-light-id="{{flVal[2]}}" {{if flVal[3] > 0}}class="high-light"{{/if}}>{{#flVal[0]}}{{if flVal[4]}}{{#flVal[4]}}{{/if}}</span>{{/each}}
                                {{if (!tplData['badCaseByForce'] && tplData['to_lang'] === 'zh') || (tplData['badCaseByForce'] && tplData['to_lang'] === 'en')}}
                                <a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{tplData['senData'][ljidx]}}" class="operate-btn op-sound" >
                                    <span class="icon-sound"></span>
                                </a>
                                {{/if}}
                            </p>
                            <p class="sample-target">
                                {{each ljVal[1] as slVal slidx}}<span id="{{slVal[1]}}" high-light-id="{{slVal[2]}}" {{if slVal[3] > 0}}class="high-light"{{/if}}>{{slVal[0]}}{{if slVal[4]}}{{slVal[4]}}{{/if}}</span>{{/each}}
                                {{if (!tplData['badCaseByForce'] && tplData['to_lang'] === 'en') || (tplData['badCaseByForce'] && tplData['to_lang'] === 'zh')}}
                                <a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{tplData['senData'][ljidx]}}" class="operate-btn op-sound">
                                    <span class="icon-sound"></span>
                                </a>
                                {{/if}}
                            </p>
                            <p class="sample-resource">
                                {{if ljVal[3]}}
                                <span>{{ljVal[3]}}</span>
                                {{else}}
                                <span>{{ljVal[2]}}</span>
                                {{/if}}
                            </p>
                        </div>
                    </li>
                    {{/each}}
                </ol>
            </div>
            {{/if}}
        </script><script type="text/html" id="tplSynonym">
            <section class="result-section need-collapse" data-nav-text="同义词辨析" data-collapse-height="700">
                <header class="section-header">同义词辨析</header>
                <div id="cont-synonym" class="details-cont-item item-synonym">
                    <div class="output-bd">
                        {{each tplData as tplVal}}
                        
                        <div class="synonym-item">
                            
                            <div class="synonym-title f-gap-top-large">
                                
                                {{each tplVal.words as word}}
                                    <span class="word-can-trans"><a href="/#en/zh/{{word | synonymFrontQuery | encodeURIComponent}}"   class="sec-trans" data-stat-id="71">{{word}}</a></span>
                                {{/each}}
                                
                                <span class="synonym-guide f-gap-left-minus">【{{tplVal.guide}}】</span>
                            </div>
                            {{if tplVal.synonyms && tplVal.synonyms.length > 0}}
                                
                                {{each tplVal.synonyms as synonymVal}}
                                    <div class="synonym-normal f-gap-top-large">
                                        {{if synonymVal.syn}}
                                        
                                            <div class="para-syn">
                                                <span class="word-can-trans"><a href="/#en/zh/{{synonymVal.syn.word | synonymFrontQuery | encodeURIComponent}}" class="sec-trans" data-stat-id="71">{{synonymVal.syn.word}}</a></span>
                                                {{if synonymVal.syn.also}}<span class="synonym-also">{{synonymVal.syn.also}}</span>{{/if}}
                                                <span class="synonym-p">{{synonymVal.syn.p}}</span>
                                                {{if synonymVal.syn.d && synonymVal.syn.d.length > 0}}
                                                    
                                                    {{each synonymVal.syn.d as d}}
                                                        <span class="synonym-d">
                                                        {{if d.tag || d.text}}
                                                            
                                                            {{if d.tag}}[{{d.tag | synonymOffBrackets}}]{{/if}}{{if d.text}}{{d.text}}{{/if}}
                                                        {{else}}
                                                            
                                                            {{d}}
                                                        {{/if}}
                                                        </span>
                                                    {{/each}}
                                                {{/if}}
                                            </div>
                                        {{/if}}
                                        {{if synonymVal.bx}}
                                        
                                            <div class="para-syn f-gap-top clearfix">
                                                <span class="syn-tit f-gap-left-minus">〔辨析〕</span>
                                                <div class="syn-val">
                                                    <p class="bx-val">{{synonymVal.bx}}</p>
                                                </div>
                                            </div>
                                        {{/if}}
                                        {{if synonymVal.ex && synonymVal.ex.length > 0}}
                                        
                                            <div class="para-syn clearfix">
                                                <span class="syn-tit f-gap-top f-gap-left-minus">〔例证〕</span>
                                                <div class="syn-val">
                                                    {{each synonymVal.ex as exVal}}
                                                        <div class="ex-val f-gap-top">
                                                            {{if exVal.enText}}
                                                            <p class="ex-en">{{exVal.enText}}<a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{exVal.enText | encodeURIComponent}}" class="operate-btn op-sound" ><span class="icon-sound"></span></a></p>
                                                            {{/if}}
                                                            {{if exVal.chText}}
                                                            <p class="ex-zh {{if !exVal.enText}}f-color-grey{{/if}}">{{exVal.chText}}</p>
                                                            {{/if}}
                                                        </div>
                                                    {{/each}}
                                                </div>
                                            </div>
                                        {{/if}}
                                        {{if synonymVal.be}}
                                        
                                            <div class="para-syn">
                                                <p class="syn-be-tit f-gap-top f-gap-left-minus">〔辨析、例证〕</p>
                                                <div class="syn-val">
                                                    {{if synonymVal.be.b}}<p class="syn-b f-gap-top">{{synonymVal.be.b}}</p>{{/if}}
                                                    {{if synonymVal.be.item && synonymVal.be.item.length > 0}}
                                                        {{each synonymVal.be.item as beVal beIdx}}
                                                            <div class="be-item {{if beIdx === 0}}f-gap-top{{else}}f-gap-top-large{{/if}}">
                                                                {{if beVal.bx}}<p class="bx-val"> {{if synonymVal.be.item.length > 1}}<span class="bx-id">{{beIdx + 1}}、</span>{{/if}}{{beVal.bx}}</p>{{/if}}
                                                                {{if beVal.ex && beVal.ex.length > 0}}
                                                                    {{each beVal.ex as exVal}}
                                                                        <div class="ex-val f-gap-top">
                                                                            <p class="ex-en">{{exVal.enText}}<a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{exVal.enText | encodeURIComponent}}" class="operate-btn op-sound" ><span class="icon-sound"></span></a></p>
                                                                            <p class="ex-zh">{{exVal.chText}}</p>
                                                                        </div>
                                                                    {{/each}}
                                                                {{/if}}
                                                            </div>
                                                        {{/each}}
                                                    {{/if}}
                                                </div>
                                            </div>
                                        {{/if}}
                                        {{if synonymVal.tips}}
                                            <div class="para-syn clearfix">
                                                <span class="syn-tit f-gap-top f-gap-left-minus">〔小贴士〕</span>
                                                <div class="syn-val">
                                                    {{if synonymVal.tips.tip || synonymVal.tips.ex}}
                                                        
                                                        {{if synonymVal.tips.tip}}<p class="syn-tip f-gap-top">{{synonymVal.tips.tip}}</p>{{/if}}
                                                        {{if synonymVal.tips.ex && synonymVal.tips.ex.length > 0}}
                                                            {{each synonymVal.tips.ex as exVal}}
                                                                <div class="ex-val f-gap-top">
                                                                    <p class="ex-en">{{exVal.enText}}<a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{exVal.enText | encodeURIComponent}}" class="operate-btn op-sound" ><span class="icon-sound"></span></a></p>
                                                                    <p class="ex-zh">{{exVal.chText}}</p>
                                                                </div>
                                                            {{/each}}
                                                        {{/if}}
                                                    {{else}}
                                                        
                                                        {{each synonymVal.tips as tipVal}}
                                                            {{if tipVal.tip}}<p class="syn-tip f-gap-top">{{tipVal.tip}}</p>{{/if}}
                                                            {{if tipVal.ex && tipVal.ex.length > 0}}
                                                                {{each tipVal.ex as exVal}}
                                                                    <div class="ex-val f-gap-top">
                                                                        <p class="ex-en">{{exVal.enText}}<a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{exVal.enText | encodeURIComponent}}" class="operate-btn op-sound" ><span class="icon-sound"></span></a></p>
                                                                        <p class="ex-zh">{{exVal.chText}}</p>
                                                                    </div>
                                                                {{/each}}
                                                            {{/if}}
                                                        {{/each}}
                                                    {{/if}}
                                                </div>
                                            </div>
                                        {{/if}}
                                    </div>
                                {{/each}}
                            {{/if}}
                        </div>
                        {{/each}}
                    </div>
                </div>
            </section>
        </script><script type="text/html" id="tplGeneralmean">
            <section class="result-section" data-nav-text="单词集锦">
                <header class="section-header">单词集锦</header>
                <div id="cont-general" class="details-cont-item item-general">
                    <div class="general-title">{{tplData['word_type']}}</div>
                    <div class="general-box test-position">
                        <ol>
                            {{each tplData['similar_words'] as gerVal}}
                            {{if tplData['word_lang'] === 'en'}}
                            <li>
                                <a href="/#en/zh/{{gerVal['en']}}" target="_blank" class="item-word" onclick="_hmt.push(['_trackEvent', '首页','web翻译单词集锦二次查询点击']);">{{gerVal['en']}}</a>
                                <span class="item-mean">{{gerVal['zh']}}</span>
                            </li>
                            {{else}}
                            <li>
                                <a href="/#zh/en/{{gerVal['zh']}}" target="_blank" class="item-word" onclick="_hmt.push(['_trackEvent', '首页','web翻译单词集锦二次查询点击']);">{{gerVal['zh']}}</a>
                                <span class="item-mean">{{gerVal['en']}}</span>
                            </li>
                            {{/if}}
                            {{/each}}
                        </ol>
                    </div>
                </div>
            </section>
        </script><script type="text/template" id="tplWebMeans">
            <section class="result-section" data-nav-text="网络释义">
                <header class="section-header">网络释义</header>
                <div id="cont-web-means" class="details-cont-item item-web-means">
                    {{if tplData.netdata}}
                        {{if tplData.netdata.types && tplData.netdata.types.length > 0}}
                            {{each tplData.netdata.types as netItem}}
                                <div class="web-means-item">
                                    <div class="web-means-main">
                                        <span class="web-means-left">{{netItem.type}}</span>
                                        <span class="web-means-right">{{netItem.trans}}</span>
                                    </div>
                                    <div class="web-means-detail">
                                        <div class="web-means-describe">{{netItem.define}}</div>
                                        <a href="{{netItem.url}}" class="web-means-link">来源 {{netItem.host}}</a>
                                    </div>
                                </div>
                            {{/each}}
                        {{/if}}
                    {{/if}}
                </div>
            </section>
        </script>
        <script type="text/html" id="tplRootsaffixes">
            <section class="result-section need-collapse" data-nav-text="词根词缀" data-collapse-height="700">
                <header class="section-header">词根词缀</header>
                <div id="cont-rootsaffixes" class="details-cont-item item-rootsaffixes">
                    <div class="output-bd">
                        
                        {{each tplData as tplVal tplIdx}}
                        <div class="ras-item">
                            {{if tplVal.type}}
                            <div class="ras-title{{if tplIdx > 0}} ras-gap-top-large{{/if}}">
                                <span class="ras-type f-gap-top">{{tplVal.type === 'etyma' ? '词根' : (tplVal.type === 'prefix' ? '前缀' : '后缀')}}</span>
                                {{if tplVal.title || tplVal.indicate}}
                                    <div class="ras-coin">
                                        {{if tplVal.title}}<span class="ras-content">{{tplVal.title}}</span>{{/if}}{{if tplVal.indicate}}<span class="ras-indicate">{{tplVal.indicate}}</span>{{/if}}
                                    </div>
                                {{/if}}
                            </div>
                            {{/if}}
                            {{if tplVal.meanings && tplVal.meanings.length > 0}}
                                
                                {{each tplVal.meanings as meanVal meanIdx}}
                                    <div class="ras-normal{{if meanIdx > 0}} f-gap-top-larger{{else}} f-gap-top-large{{/if}}">
                                        {{if meanVal.td}}
                                            <div class="para-ras">
                                                {{if tplVal.meanings.length > 1}}<span class="ras-id">{{meanIdx + 1}}</span>{{/if}}
                                                <span class="ras-td">{{meanVal.td}}</span>
                                            </div>
                                        {{/if}}
        
                                        {{if meanVal.words && meanVal.words.length > 0}}
                                            <div class="para-ras ras-mean{{if (tplData.length > 1 || tplVal.meanings.length > 1) && meanVal.words.length > 7}} to-expand{{/if}}{{if tplVal.meanings.length > 1}} ras-mean-gap-left{{/if}}{{if meanVal.td}} f-gap-top-large{{/if}}">
                                                {{each meanVal.words as word wordIdx}}
                                                    <div class="ex-ras{{if wordIdx > 5}} ras-hide{{/if}} {{if wordIdx > 0}} f-gap-top-large{{/if}}">
                                                        {{if word.partsOfSpeech}}
                                                            {{each word.partsOfSpeech as part partIdx}}
                                                                <div class="ex-part">
                                                                    <p>
                                                                        {{if word.h}}<span class="ex-word">{{word.h}}</span>{{/if}}
                                                                        {{if part.p}}<span class="ex-p">{{part.p}}</span>{{/if}}
                                                                        {{if part.d}}<span class="ex-d">{{part.d}}</span>{{/if}}
                                                                    </p>
                                                                    {{if part.dec}}
                                                                    <p>
                                                                        <span class="ex-dec">{{part.dec}}</span>
                                                                    </p>
                                                                    {{/if}}
                                                                </div>
                                                            {{/each}}
                                                        {{/if}}
                                                    </div>
                                                {{/each}}
                                            </div>
                                        {{/if}}
                                        {{if (tplData.length > 1 || tplVal.meanings.length > 1) && meanVal.words.length > 7}}<span class="ras-collapse-expand-btn{{if tplVal.meanings.length > 1}} ras-collapse-gap-left{{/if}}"></span>{{/if}}
                                    </div>
                                {{/each}}
                            {{/if}}
                        </div>
                        {{/each}}
                        <p class="section-tip-bottom-ras">数据来源：新东方英语词汇速记大全</p>
                    </div>
                </div>
            </section>
        </script><script type="text/html" id="tplUsecase">
            <section class="result-section prefix-new-tag need-collapse usecase-section" data-nav-text="词语用例" data-collapse-height="700">
                <header class="section-header">词语用例</header>
                <div id="cont-usecase" class="details-cont-item item-usecase">
                    <div class="output-bd">
                        
                        <ul class="usecase-nav clearfix">
                        {{each tplData as tplVal tplKey}}
                            {{if tplKey === 'collocation'}}<li data-tab-text="词语搭配">词语搭配</li>{{/if}}
                            {{if tplKey === 'phrasalverb'}}<li data-tab-text="短语动词">短语动词</li>{{/if}}
                            {{if tplKey === 'idiom'}}<li data-tab-text="习语">习语</li>{{/if}}
                        {{/each}}
                        </ul>
                        <div class="usecase-cont">
                            {{if tplData.collocation}}{{include 'tplCollocation' tplData.collocation}}{{/if}}
                            {{if tplData.phrasalverb}}{{include 'tplphrasalverb' tplData.phrasalverb}}{{/if}}
                            {{if tplData.idiom}}{{include 'tplIdiom' tplData.idiom}}{{/if}}
                        </div>
                    </div>
                </div>
            </section>
        </script>
        <script type="text/html" id="tplCollocation">
            <div class="cont-collocation usecase-item hide">
                <p class="collocation-tit">{{desc}}</p>
                {{each data as colVal colIdx}}
                    <div class="collocation-item{{if colIdx === 0}} use-gap-top{{else}} use-gap-top-large{{/if}}">
                        <span class="collocation-p">{{colVal.p}}</span>
                        <div class="ex-items">
                            {{each colVal.ex as exVal exIdx}}
                                {{if exIdx % 2 === 0}}
                                <div class="clearfix">
                                {{/if}}
                                <div class="ex-item {{if exIdx > 1}}use-gap-top{{/if}}">
                                    <p>
                                        <a class="ex-en" href="/#en/zh/{{exVal.en | encodeURIComponent}}" data-stat-id="75">{{exVal.en}}</a><a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{exVal.en}}" class="operate-btn op-sound" data-type="phrase">
                                                <span class="usecase-sound"></span>
                                            </a>
                                    </p>
                                    <p class="ex-zh">{{exVal.zh}}</p>
                                </div>
                                {{if exIdx % 2 !== 0 || (exIdx === colVal.ex.length - 1) && colVal.ex.length % 2 !== 0}}
                                </div>
                                {{/if}}
                            {{/each}}
                        </div>
                    </div>
                {{/each}}
            </div>
        </script>
        <script type="text/html" id="tplphrasalverb">
            <div class="cont-phrasalverb usecase-item hide {{if (!collins || collins.length === 0) && (oxford && oxford.length !== 0)}}oxford-phrasalverb-only{{/if}}">
                {{if collins && collins.length !== 0}}
                    <div class="cont-collins{{if oxford && oxford.length !== 0}} cont-collins-division{{/if}}">
                        {{each collins as colVal colIdx}}
                            {{if colIdx % 2 === 0}}
                            <div class="clearfix">
                            {{/if}}
                            <div class="ex-item {{if colIdx > 1}}use-gap-top{{/if}}">
                                <div class="ex-ens">
                                    {{each colVal.tit as titVal titIdx}}
                                        <div class="en-item">
                                            <p>
                                                <a class="ex-en" href="/#en/zh/{{titVal | encodeURIComponent}}" data-stat-id="76">{{titVal}}</a><a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{titVal}}" class="operate-btn op-sound"  data-type="phrase"><span class="usecase-sound"></span></a>
                                            </p>
                                        </div>
                                    {{/each}}
                                </div>
                                <p class="ex-zh">
                                    {{each colVal.trans as transVal transIdx}}
                                        {{if colVal.trans.length > 1}}<span class="ex-zh-num">{{transIdx + 1}}</span>{{/if}}{{transVal}}
                                    {{/each}}
                                </p>
                            </div>
                            {{if colIdx % 2 !== 0 || (colIdx === collins.length - 1) && collins.length % 2 !== 0}}
                            </div>
                            {{/if}}
                        {{/each}}
                    </div>
                {{/if}}
                {{if oxford && oxford.length !== 0}}
                    <div class="cont-oxford">
                        <p class="oxford-to-expand {{if !collins || collins.length === 0}}hide{{/if}}">查看更多</p>
                        <div class="oxford-items {{if collins && collins.length !== 0}}hide{{/if}}">
                            <p class="oxford-tip {{if !collins || collins.length === 0}}hide{{/if}}">以下资源来自牛津词典</p>
                            <div class="entry-pvsg">
                                {{each oxford as oxfordData oxfordIdx}}
                                    {{each oxfordData['data'] as pvsgData pvsgIdx}}
                                        <div class="entry-pvg {{if oxfordData['data'].length > 1}}entry-pvg-outdent{{/if}} {{if pvsgIdx > 0}}f-gap-top-large{{/if}}">
                                            {{each pvsgData['data'] as pvgData}}
                                            {{if pvgData['tag'] === 'pv'}}
                                                <p class="pvg-pv">{{pvgData.enText}}</p>
                                            {{else if pvgData['tag'] === 'n-g'}}
                                                {{include 'tplUsecaseEntryNG' pvgData}}
                                            {{else}}
                                                {{include 'tplUsecaseEntryNormal' pvgData}}
                                            {{/if}}
                                            {{/each}}
                                        </div>
                                    {{/each}}
                                {{/each}}
                            </div>
                        </div>
                        <p class="oxford-to-collapse hide">收起</p>
                    </div>
                {{/if}}
            </div>
        </script>
        <script type="text/html" id="tplIdiom">
            <div class="cont-idiom usecase-item hide">
                {{each $data as idiomVal idiomIdx}}
                    {{#idiomVal | getUsecaseIdsgHtml}}
                {{/each}}
            </div>
        </script>
        
        <!-- NG对应一种词性下的一种释义 -->
        <script type="text/html" id="tplUsecaseEntryNG">
            {{if $data['data'] && $data['data'].length > 0}}
            <div class="entry-ndg f-gap-top-large">
                <span class="ndg-n {{if $data['n'] > 9}}ndg-n-left{{/if}}">{{$data['n']}}</span>
                {{each $data['data'] as ngData}}
                    {{include 'tplUsecaseEntryNormal' ngData}}
                {{/each}}
            </div>
            {{/if}}
        </script>
        
        <script type="text/html" id="tplUsecaseEntryNormal">
            {{if $data['tag'] === 'a'}}
                <p class="entry-a f-gap-top">
                    {{if $data['before']}}{{include 'tplUsecaseEntryInlines' $data['before']}}{{/if}}
                    {{$data['texts'] | joinByMark:','}}
                    {{if $data['after']}}{{include 'tplUsecaseEntryInlines' $data['after']}}{{/if}}
                </p>
            {{else if $data['tag'] === 'as'}}
                {{if $data['before'] || $data['after'] || ($data['data'] && $data['data'].length > 0)}}
                    <div class="entry-a f-gap-top">
                    {{if $data['before']}}{{include 'tplUsecaseEntryInlines' $data['before']}}{{/if}}
                    {{if $data['data'] && $data['data'].length > 0}}
                    {{each $data['data'] as asData asIdx}}
                        {{if asData['data'] && asData['data'].length > 0}}
                            {{each asData['data'] as aData}}
                                {{if aData['tag'] === 'grs'}}
                                <span class="entry-grs"><!--
                                -->[{{each aData['data'] as grsData grsIdx}}<!--
                                    -->{{each grsData['data'] as grData}}<!--
                                        -->{{if grData['hoverText']}}<!--
                                            --><span class="entry-hover data-hover-tip" data-hover-tip-text="{{grData['hoverText']}}">{{grData['text']}}</span><!--
                                        -->{{else}}<!--
                                            -->{{grData['text']}}<!--
                                        -->{{/if}}<!--
                                    -->{{/each}}<!--
                                    -->{{if grsIdx !== aData['data'].length - 1}}, {{/if}}<!--
                                -->{{/each}}]<!--
                                --></span>
                                {{else}}{{aData.text}}{{/if}}
                            {{/each}}{{if asData['tm']}}{{asData['tm']}}{{/if}}{{if asIdx !== $data['data'].length - 1}}, {{/if}}
                        {{/if}}
                    {{/each}}
                    {{/if}}
                    {{if $data['after']}}{{include 'tplUsecaseEntryInlines' $data['after']}}{{/if}}
                    </div>
                {{/if}}
            {{else if $data['tag'] === 'cf' || $data['tag'] === 'cc'}}
                <p class="entry-cf f-gap-top">
                    {{if $data['before']}}{{include 'tplUsecaseEntryInlines' $data['before']}}{{/if}}
                    {{$data['texts'] | joinByMark:'**'}}
                    {{if $data['after']}}{{include 'tplUsecaseEntryInlines' $data['after']}}{{/if}}
                </p>
            <!-- d表示一个释义项中的中英文解释 -->
            {{else if $data['tag'] === 'd' || $data['tag'] === 'ud'}}
                <p class="entry-d f-gap-top">
                    <!-- 待确认 -->
                    {{if $data['before']}}{{include 'tplUsecaseEntryInlines' $data['before']}}{{/if}}
                    {{$data.chText}}
                    <br>
                    {{$data.enText}}
                    {{if $data['after']}}{{include 'tplUsecaseEntryInlines' $data['after']}}{{/if}}
                </p>
                <!-- 待确认 -->
                {{if $data['xrs']}}
                    {{each $data['xrs'] as xrData}}
                        {{include 'tplUsecaseEntryXR' xrData}}
                    {{/each}}
                {{/if}}
            {{else if $data['tag'] === 'x'}}
                <div class="entry-x f-color-brown f-gap-top">
                    <p class="entry-x-en">
                        {{if $data['before']}}{{include 'tplUsecaseEntryInlines' $data['before']}}{{/if}}
                        {{$data.enText}}<a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{$data.enText | encodeURIComponent}}" class="operate-btn op-sound"  data-type="sentence"><span class="usecase-sound"></span></a>
                    </p>
                    <p class="entry-x-zh">
                    {{$data.chText}}
                    </p>
                </div>
                {{if $data['xrs']}}
                    {{each $data['xrs'] as xrData}}
                        {{include 'tplUsecaseEntryXR' xrData}}
                    {{/each}}
                {{/if}}
                {{if $data['after']}}
                <div class="entry-alone f-gap-top">
                    {{include 'tplUsecaseEntryInlines' $data['after']}}
                </div>
                {{/if}}
            {{else if $data['tag'] === 'xrs'}}
                {{include 'tplUsecaseEntryXR' $data}}
            {{else if $data['tag'] === 'help'}}
                {{include 'tplUsecaseEntryHelp' $data}}
            {{else if $data['tag'] === 'ifs-g'}}
                {{include 'tplUsecaseEntryIfsg' $data}}
            {{else if $data['tag'] === 'p'}}
                <div class="entry-p">
                    {{if $data['before']}}<p class="entry-alone f-gap-top">{{include 'tplUsecaseEntryInlines' $data['before']}}</p>{{/if}}
                    <p class="f-gap-top">{{$data['p_text']}}</p>
                    {{if $data['after']}}<p class="entry-alone f-gap-top">{{include 'tplUsecaseEntryInlines' $data['after']}}</p>{{/if}}
                </div>
            {{else if $data['tag'] === 'vs-g'}}
                {{if $data['data'] && $data['data'].length > 0}}
                <div class="entry-vsg f-gap-top-large">
                    <!-- <span class="entry-bracket-ch">【</span>变体】 -->
                    <span class="entry-vsg-label {{$data['data'][0] | judgeIfG}}">also </span>
                    {{each $data['data'] as vsgData}}
                        {{if vsgData['tag'] === 'alone'}}
                            {{include 'tplUsecaseEntryInlines' vsgData['data']}}
                        {{else if vsgData['tag'] === 'ifs-g'}}
                            {{include 'tplUsecaseEntryIfsg' vsgData}}
                        {{/if}}
                    {{/each}}
                </div>
                {{/if}}
            {{else if $data['tag'] === 'etym'}}
                {{include 'tplUsecaseEntryEtym' $data}}
            {{else if $data['tag'] === 'alone'}}
                <div class="entry-alone f-gap-top">
                    {{include 'tplUsecaseEntryInlines' $data['data']}}
                </div>
            {{/if}}
        </script>
        
        <script type="text/html" id="tplUsecaseEntryInlines">
            {{each $data as item}}
                {{if item['tag'] === 'grs'}}
                    <span class="entry-grs"><!--
                    -->[{{each item['data'] as grsData grsIdx}}<!--
                        -->{{each grsData['data'] as grData}}<!--
                            -->{{if grData['hoverText']}}<!--
                                --><span class="entry-hover data-hover-tip" data-hover-tip-text="{{grData['hoverText']}}">{{grData['text']}}</span><!--
                            -->{{else}}<!--
                                -->{{grData['text']}}<!--
                            -->{{/if}}<!--
                        -->{{/each}}<!--
                        -->{{if grsIdx !== item['data'].length - 1}}, {{/if}}<!--
                    -->{{/each}}]<!--
                    --></span>
                {{else if item['tag'] === 'pts'}}
                    <span class="entry-pts"><!--
                    -->[{{each item['data'] as ptsData ptsIdx}}<!--
                        -->{{each ptsData['data'] as ptData}}<!--
                            -->{{if ptData['hoverText']}}<!--
                                --><span class="entry-hover data-hover-tip" data-hover-tip-text="{{ptData['hoverText']}}">{{ptData['text']}}</span><!--
                            -->{{else}}<!--
                                -->{{ptData['text']}}<!--
                            -->{{/if}}<!--
                        -->{{/each}}<!--
                        -->{{if ptsIdx !== item['data'].length - 1}}
                            {{if item['data'][ptsIdx + 1] && item['data'][ptsIdx + 1]['pt'] === 'advprep' && item['data'][ptsIdx + 1]['data'] && item['data'][ptsIdx + 1]['data'][0] && item['data'][ptsIdx + 1]['data'][0]['tag'] !== 'freq'}} {{else}}, {{/if}}
                        {{/if}}<!--
                    -->{{/each}}]<!--
                    --></span>
                {{else if item['tag'] === 'pvpts'}}
                    <span class="entry-pts"><!--
                    -->{{each item['data'] as ptsData ptsIdx}}<!--
                        -->{{each ptsData['data'] as ptData}}<!--
                            -->{{if ptData['hoverText']}}<!--
                                --><span class="entry-hover data-hover-tip" data-hover-tip-text="{{ptData['hoverText']}}">{{ptData['text']}}</span><!--
                            -->{{else}}<!--
                                -->{{ptData['text']}}<!--
                            -->{{/if}}<!--
                        -->{{/each}}<!--
                        -->{{if ptsIdx !== item['data'].length - 1}}, {{/if}}<!--
                    -->{{/each}}<!--
                    --></span>
                {{else if item['tag'] === 'info'}}
                    <span class="entry-info"><span class="entry-info-left">(</span>{{include 'tplUsecaseEntryInlinesInfo' item}}<span class="entry-info-right">)</span></span>
                {{else if item['tag'] === 'ds' || item['tag'] === 'dc' || item['tag'] === 'u'}}
                    <span class="entry-ds">({{item.enText}} {{item.chText}})</span>
                {{else if item['tag'] === 'ab'}}
                    <span class="entry-ab">(abbr. {{item.ab_text}})</span>
                {{else if item['tag'] === 'sym'}}
                    <span class="entry-sym">(symb {{item.sym_text}})</span>
                {{/if}}
            {{/each}}
        </script>
        
        <script type="text/html" id="tplUsecaseEntryInlinesInfo">
            {{each $data['data'] as infoData infoIdx}}<!--
                -->{{if infoData['tag'] === 's'}}<!--
                    -->{{infoData['s_text']}}<!--
                    -->{{if infoIdx !== $data['data'].length - 1}}<!--
                        -->{{if $data['data'][infoIdx + 1] && ($data['data'][infoIdx + 1]['tag'] === 's' || $data['data'][infoIdx + 1]['tag'] === 'r' || $data['data'][infoIdx + 1]['tag'] === 'g')}}, {{else}} {{/if}}<!--
                    -->{{/if}}<!--
                -->{{else if infoData['tag'] === 'r'}}<!--
                    -->{{infoData['r_text']}}<!--
                    -->{{if infoIdx !== $data['data'].length - 1}}<!--
                        -->{{if $data['data'][infoIdx + 1] && ($data['data'][infoIdx + 1]['tag'] === 's' || $data['data'][infoIdx + 1]['tag'] === 'r' || $data['data'][infoIdx + 1]['tag'] === 'g')}}, {{else}} {{/if}}<!--
                    -->{{/if}}<!--
                -->{{else if infoData['tag'] === 'if'}}<!--
                    -->{{infoData['enText']}}<!--
                    -->{{if infoIdx !== $data['data'].length - 1}}<!--
                        -->{{if $data['data'][infoIdx + 1] && $data['data'][infoIdx + 1]['tag'] === 'cm'}} {{else}}, {{/if}}<!--
                    -->{{/if}}<!--
                -->{{else if infoData['tag'] === 'g'}}<!--
                    -->{{each infoData['data'] as gData}}<!--
                        -->{{if gData['hoverText']}}<!--
                            --><span class="entry-hover data-hover-tip" data-hover-tip-text="{{gData['hoverText']}}">{{gData['text']}}</span><!--
                        -->{{else}}<!--
                            -->{{gData['text']}}<!--
                        -->{{/if}}<!--
                    -->{{/each}}<!--
                    -->{{if infoIdx !== $data['data'].length - 1}}<!--
                        -->{{if $data['data'][infoIdx + 1] && ($data['data'][infoIdx + 1]['tag'] === 's' || $data['data'][infoIdx + 1]['tag'] === 'g')}}, {{else if $data['data'][infoIdx + 1] && $data['data'][infoIdx + 1]['tag'] === 'r'}}<span class="entry-vsg-sp-comma">, </span> {{else}} {{/if}}<!--
                    -->{{/if}}<!--
                -->{{else if infoData['tag'] === 'il'}}<!--
                    -->{{each infoData['data'] as ilData}}<!--
                        -->{{if ilData['hoverText']}}<!--
                            --><span class="entry-hover data-hover-tip" data-hover-tip-text="{{ilData['hoverText']}}">{{ilData['text']}}</span><!--
                        -->{{else}}<!--
                            -->{{ilData['text']}}<!--
                        -->{{/if}}<!--
                    -->{{/each}}<!--
                    -->{{if infoIdx !== $data['data'].length - 1}}<!--
                        -->{{if $data['data'][infoIdx + 1] && ($data['data'][infoIdx + 1]['tag'] === 'cm' || $data['data'][infoIdx + 1]['tag'] === 'if')}} {{else}}, {{/if}}<!--
                    -->{{/if}}<!--
                -->{{else if infoData['tag'] === 'v' || infoData['tag'] === 'vs' || infoData['tag'] === 'vc'}}<!--
                    -->{{infoData['enText']}}{{if infoData['tm']}}{{infoData['tm']}}{{/if}}<!--
                    -->{{if infoIdx !== $data['data'].length - 1}}<!--
                        -->{{if $data['data'][infoIdx + 1] && ($data['data'][infoIdx + 1]['tag'] === 'v' || $data['data'][infoIdx + 1]['tag'] === 'vs' || $data['data'][infoIdx + 1]['tag'] === 'vc' || $data['data'][infoIdx + 1]['tag'] === 'r')}}, {{else}} {{/if}}<!--
                    -->{{/if}}<!--
                -->{{else if infoData['tag'] === 'co'}}<!--
                    -->{{infoData['enText']}}{{if infoData['tm']}}{{infoData['tm']}}{{/if}}<!--
                    -->{{if infoIdx !== $data['data'].length - 1}}<!--
                        -->{{if $data['data'][infoIdx + 1] && $data['data'][infoIdx + 1]['tag'] === 'cm'}} {{else}}, {{/if}}<!--
                    -->{{/if}}<!--
                -->{{else if infoData['tag'] === 'cm'}}<!--
                    -->{{if infoData['chText']}}<!--
                    -->{{infoData['enText']}} {{infoData['chText']}}<!--
                    -->{{else}}<!--
                    -->{{infoData['enText']}}<!--
                    -->{{/if}} <!--
                -->{{/if}}<!--
            -->{{/each}}
        </script>
        
        <script type="text/html" id="tplUsecaseEntryXR">
            <!-- 待确认 -->
            {{if $data['xt'] === 'id' && $data['data']}}
                {{#$data | getIdsgHtml}}
            <!-- syn表示同义词，待确认 -->
            {{else if $data['xt'] === 'syn' || $data['xt'] === 'opp' || $data['xt'] === 'see' || $data['xt'] === 'see.c' || $data['xt'] === 'cp' || $data['xt'] === 'rn' || $data['xt'] === 'useat' || $data['xt'] === 'arrow'}}
                {{if $data['data'] && $data['data'].length > 0}}
                <div class="entry-xr {{if $data['xt'] === 'arrow' || $data['xt'] === 'cp' || $data['xt'] === 'rn' || $data['xt'] === 'see' || $data['xt'] === 'see.c' || $data['xt'] === 'useat'}}entry-xr-more{{/if}} f-gap-top">
                    {{$data['xt'] | genXRPrefix}}
                    {{each $data['data'] as xrsData xrsIdx}}<!--
                        -->{{if xrsData['data'] && xrsData['data'].length > 0}}<!--
                        -->{{each xrsData['data'] as xrData}}<!--
                            -->{{if xrData['hoverText']}}<!--
                                --><span class="entry-hover data-hover-tip" data-hover-tip-text="{{xrData['hoverText']}}">{{xrData['text']}}</span><!--
                            -->{{else if xrData['canTrans']}}<!--
                                --><span class="word-can-trans"><a href="/#en/zh/{{xrData['text'] | encodeURIComponent}}" class="f-link sec-trans" data-stat-id="79">{{xrData['text']}}</a></span><!--
                            -->{{else}}<!--
                                -->{{xrData['text']}}<!--
                            -->{{/if}}<!--
                        -->{{/each}}<!--
                        -->{{if xrsIdx !== $data['data'].length - 1}}, {{/if}}<!--
                        -->{{/if}}<!--
                    -->{{/each}}
                </div>
                {{/if}}
            {{else}}
            {{if $data['data'] && $data['data'].length > 0}}
                {{each $data['data'] as xrsData}}
                {{if xrsData['data'] && xrsData['data'].length > 0}}
                <div class="entry-xr f-gap-top">
                    {{each xrsData['data'] as xrData}}
                        {{if xrData['hoverText']}}
                            <span class="entry-hover data-hover-tip" data-hover-tip-text="{{xrData['hoverText']}}">{{xrData['text']}}</span>
                        {{else if xrData['canTrans']}}
                            <span class="word-can-trans"><a href="/#en/zh/{{xrData['text'] | encodeURIComponent}}" class="f-link sec-trans" data-stat-id="79">{{xrData['text']}}</a></span>
                        {{else}}
                            {{xrData['text']}}
                        {{/if}}
                    {{/each}}
                </div>
                {{/if}}
                {{/each}}
            {{/if}}
            {{/if}}
        </script>
        
        <script type="text/html" id="tplUsecaseEntryHelp">
            {{if $data['data'] && $data['data'].length > 0}}
            <div class="entry-help f-gap-top-large">
                <span class="entry-bracket-ch">【</span>帮助说明】
                {{each $data['data'] as helpData}}
                    {{if helpData['tag'] === 'x'}}
                    <div class="entry-x f-color-brown f-gap-top">
                        <p class="entry-x-en">
                            {{if helpData['before']}}{{include 'tplUsecaseEntryInlines' helpData['before']}}{{/if}}
                            {{helpData.enText}}<a href="javascript:void(0);" data-sound-lan="en" data-sound-text="{{helpData.enText | encodeURIComponent}}" class="operate-btn op-sound" ><span class="usecase-sound"></span></a>
                        </p>
                        {{if helpData.chText}}
                        <p class="entry-x-zh">
                        {{helpData.chText}}
                        </p>
                        {{/if}}
                    </div>
                    {{else if helpData['tag'] === 'wx'}}
                    <p class="entry-wx f-color-brown f-gap-top"><del>{{helpData.enText}}</del></p>
                    {{else if helpData['tag'] === 'gi'}}
                    {{each helpData['data'] as giData}}
                        {{if giData['hoverText']}}
                        <span class="entry-hover data-hover-tip" data-hover-tip-text="{{giData['hoverText']}}">{{giData['text']}}</span>
                        {{else}}
                        {{giData['text']}}
                        {{/if}}
                    {{/each}}
                    {{else}}{{helpData.text}} {{/if}}
                {{/each}}
            </div>
            {{/if}}
        </script>
        
        <script type="text/html" id="tplUsecaseEntryIfsg">
            {{if $data['data'] && $data['data'].length > 0}}
            <div class="entry-ifsg f-gap-top-large">
                <!-- <span class="entry-bracket-ch">【</span>不规则形式】 -->
                <span class="entry-ifsg-label entry-bracket-ch {{$data['data'][0] | judgeIfCo}}">【不规则形式】</span>
                {{each $data['data'] as ifsgData}}
                    {{if ifsgData['tag'] === 'help'}}
                        {{include 'tplUsecaseEntryHelp' ifsgData}}
                    {{else if ifsgData['tag'] === 'alone'}}
                        {{include 'tplUsecaseEntryInlines' ifsgData['data']}}
                    {{else if ifsgData['tag'] === 'if-g'}}
                        {{each ifsgData['data'] as ifgData ifgIdx}}
                        {{if ifgData['tag'] === 'alone'}}
                            {{include 'tplUsecaseEntryInlines' ifgData['data']}}{{if ifgIdx !== ifsgData['data'].length - 1}},{{/if}}
                        {{/if}}
                        {{/each}}
                    {{else}}
                    {{/if}}
                {{/each}}
            </div>
            {{/if}}
        </script>
        
        <script type="text/html" id="tplUsecaseEntryEtym">
            <div class="entry-etym f-gap-top-large">
                <p><span class="entry-bracket-ch">【</span>词源】{{$data.enText}} {{$data.chText}}</p>
            </div>
            <!--TODO etym 需要 check 一下有 没有 xrData -->
        </script>
        <script type="text/html" id="tplUsecaseEntryXrIdsg">
            <div class="entry-idsg">
                <p class="f-title f-title-bold">{{$data['p']}}</p>
                {{each $data['data'] as idsgData idsgIdx}}
                    <div class="entry-idg f-overflow-hidden {{if $data['data'].length > 1}}entry-idg-outdent{{/if}} {{if idsgIdx > 0}}f-gap-top-large{{else}}use-gap-top{{/if}} {{idsgData['data'] | judgeIfId}}">
                        {{each idsgData['data'] as idgData}}
                            {{if idgData['tag'] === 'id'}}
                                {{if idgData['before']}}
                                <div class="entry-alone idg-id-before">
                                    {{include 'tplUsecaseEntryInlines' idgData['before']}}
                                </div>
                                <p class="idg-id f-gap-top">{{idgData.enText}}</p>
                                {{else}}
                                <p class="idg-id">{{idgData.enText}}</p>
                                {{/if}}
                            {{else if idgData['tag'] === 'n-g'}}
                                {{include 'tplUsecaseEntryNG' idgData}}
                            {{else}}
                                {{include 'tplUsecaseEntryNormal' idgData}}
                            {{/if}}
                        {{/each}}
                    </div>
                {{/each}}
            </div>
        </script><script type="text/html" id="tplSanyms">
            <section class="result-section need-collapse" data-nav-text="同反义词" data-collapse-height="700">
                <header class="section-header">同反义词</header>
                <div id="cont-sanyms" class="details-cont-item item-sanyms">
                    <div class="output-bd">
                        
                        {{each tplData as sanymsData sanymsIdx}}
                            <div class="sa-item {{if sanymsIdx === 0}}sa-gap-top-large{{else}}sa-gap-top{{/if}}">
                                <p class="sa-tit">{{sanymsData.tit}}</p>
                                <div class="sa-cont">
                                    {{each sanymsData['data'] as pData pIdx}}
                                        <div>
                                            <span class="sa-p">{{pData.p}}</span>
                                            <p class="sa-ds">
                                            {{each pData.d as dData dIdx}}
                                                <span><a class="sa-d" href="/#en/zh/{{dData | encodeURIComponent}}" data-stat-id="77">{{dData}}</a></span>
                                            {{/each}}
                                            </p>
                                        </div>
                                    {{/each}}
                                </div>
                            </div>
                        {{/each}}
                    </div>
                </div>
            </section>
        </script><script type="text/html" id="tplEtym">
            <section class="result-section need-collapse" data-nav-text="词源" data-collapse-height="700">
                <header class="section-header">词源</header>
                <div id="cont-etym" class="details-cont-item item-etym">
                    <div class="output-bd">
                        
                        {{if tplData.enText}}
                        <p class="etym-en">{{tplData.enText}}</p>
                        {{/if}}
                        {{if tplData.chText}}
                        <p class="etym-ch">{{tplData.chText}}</p>
                        {{/if}}
                    </div>
                </div>
            </section>
        </script>                                </div>
                                    </div>
                                    <div class="trans-right trans-other-right" id="transOtherRight">
                                        <div id="noteContainer"></div>
                                        <div id="sideBannerContainer"></div>
                                    </div>
                                </div>
                            </div>
                            <div class="doc-trans-view-wrap">
            <div class="loading-exit-btn doc-trans-btn-common doc-trans-btn-white">退出</div>
            <div class="view-btn-group">
                <a class="go-back doc-trans-btn-common" href="javascript:">
                <a class="view-re-upload-btn doc-trans-btn-common">上传新文档</a>
                <div class="export-doc-btn doc-trans-btn-common doc-trans-btn-blue">
                    <div class="free-tip">
                        限时免费
                    </div>
                    <div class="export-tip">
                        仅支持<span class="red-font">部分</span>翻译导出，其余原文输出<br>
                        <div class="no-tip-check">
                            <div class="no-tip-checkbox"></div>
                            不再提示
                        </div>
                        <br>
                        <hr class="tip-hr">
                        <a class="confirm-export-btn doc-trans-btn-common">确认导出</a>
                    </div>
                </div>
            </div>
            <div class="doc-whole-container">
                <div class="src-doc-container">
                    <div class="file-name-container">
                        <p class="file-name"></p>
                    </div>
                    <div class="view-file-name"></div>
                    <div class="src-doc-position-container">
                        <div class="src-doc-scroll-wrapper scrollbar-inner">
                            <div class="src-doc-padding-wrapper"></div>
                        </div>
                    </div>
                </div>
                <div class="dst-doc-container">
                    <div class="loading-container">
                        <p>小译正在努力翻译…</p>
                        <div class="progress-bar-container"><div class="progress-bar"></div></div>
                        <p class="doc-view-lang-pair"><span class="doc-view-from-lang"></span><span class="dir-arrow"></span><span class="doc-view-to-lang"></span></p>
                    </div>
                    <div class="loading-err-container">
                        <p class="err-title">文档解析失败</p>
                        <p class="err-content">可能是文件过大、图片较多导致的<br>建议拆分成小文档，逐个翻译哦</p>
                        <a class="doc-trans-btn-common doc-trans-btn-blue err-exit-btn">退出</a>
                        <a class="doc-trans-btn-common doc-trans-btn-white err-re-upload-btn">重新上传</a>
                    </div>
                    <div class="view-dst-title">译文（来自机器翻译）</div>
                    <div class="dst-doc-position-container">
                        <div class="dst-doc-scroll-wrapper scrollbar-inner">
                            <div class="dst-doc-padding-wrapper"></div>
                        </div>
                        <div class="doc-async-translating-tip">正在加载…</div>
                    </div>
                </div>
                <iframe id="doc-view-iframe" width="100%" height="100%" frameborder="0">
                </iframe>
            </div>
            <div class="doc-feedback-group">
            
                            <a href="javascript:" id="doc-view-feedback">用户反馈</a>
            </div>
        </div>
                        </div>
                    </div>
                </div>
                <div id="zonedword-wrap" class="zonedword zonedword-wrap">
            <div class="zonedword-title">
                <a href="javascript:void(0);" class="zonedword-close" title="关闭"><span class="icon-zclose"></span></a>
                <div class="zonedword-setting">
                    <a href="javascript:void(0);" class="zonedword-setting-icon" title="设置"><span class="icon-zsetting"></span></a>
                    <div class="setting-options">
                        <span class="setting-options-arrow"><em class="setting-arrow-inner"></em></span>
                        <a href="javascript:void(0);" class="zonedword-switch setting-checked">
                            <span class="check-label">划词翻译</span><span class="check-option"></span>
                        </a>
                    </div>
                </div>
                <!--
                <a href="javascript:void(0);" class="zonedword-top-switch" title="置顶"></a>
                -->
                <span>百度翻译</span>
            </div>
            <div class="zonedword-content">
                
                <div class="zonedword-search-wrap">
                    <div class="zonedword-search-input-wrap">
                        <input class="zonedword-search-input" type="text" value="">
                    </div>
                    <a class="zonedword-search-button" href="###">查询</a>
                </div>
                <div class="zonedword-result-wrap">
                    <p class="zonedword-loading-tip">
                        <img src="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/img/translate/zonedword/loading.gif" width="32" height="32" alt="" style="margin-bottom:5px;">
                        <br>
                        努力翻译中...
                    </p>
                    <p class="zonedword-error-tip"></p>
                    <div class="zonedword-result-container">
                        <div class="zoned-coll-extra-container">
            <div class="zoned-coll-group-container scrollbar-inner">
                <header class="gray">添加收藏到&nbsp;<span class="black">(单选)</span>&nbsp;：</header>
                <hr>
                <ol class="zoned-coll-ol scrollbar-inner">
                </ol>
            </div>
        </div>
        
        <script type="text/template" id="tpl-zoned-ol">
            {{each groupList as group}}
                <li class="zoned-coll-li" title="{{group.nameDisplayLength > 14 ? group.name : ''}}" data-group-id="{{group.id}}" data-stat-id="21">{{group.name}}</li>
            {{/each}}
        </script>                <div class="zonedword-result clearfix">
        
                        </div>
                    </div>
                </div>
                <div class="zonedword-download-tip">
                    <p>
                        <a class="zonedword-detail-link sec-trans" href="javascript:void(0);">查看更多</a>
                        <a class="zonedword-close-coll-link" href="javascript:">收起分组</a>
                                                        <a href="javascript:void(0);" class="operate-btn op-favo data-hover-tip" title="收藏结果" data-hover-tip-text="收藏结果"><span class="icon-favo"></span></a>
                                                    </p>
                </div>
            </div>
        </div>
        
        <script type="text/template" id="tplDictZonedword">
            <div class="dictionary-output">
                <div class="dictionary-title clearfix">
                    {{if tplData['voice'] && tplData['voice'].length > 0}}      
                        <div class="dictionary-spell" {{if tplData['dir'] == 'rtl'}}style="float:right;"{{/if}}>
                            {{each tplData['voice'] as voice}}
                                {{if voice['en_phonic']}}
                                <span class="phonetic-transcription">
                                    <span>英</span>
                                    <b>{{voice['en_phonic']}}</b>
                                    <a href="javascript:void(0);" data-sound-lan="uk&lock" data-sound-text="{{tplData['src']}}" class="operate-btn op-sound">
                                        <span class="icon-sound sound-btn"></span>
                                    </a>
                                </span>
                                {{else if voice['us_phonic']}}
                                <span class="phonetic-transcription">
                                    <span>美</span>
                                    <b>{{voice['us_phonic']}}</b>
                                    <a href="javascript:void(0);" data-sound-lan="en&lock" data-sound-text="{{tplData['src']}}" class="operate-btn op-sound">
                                        <span class="icon-sound sound-btn"></span>
                                    </a>
                                </span>
                                {{/if}} 
                            {{/each}}
                            </span>
                        
                        </div>
                    {{/if}}
                </div>
        
                {{each tplData['content'] as value index}}
                {{if value['phonic']}}
                <div class="dictionary-voice-spell">
                    <span>{{tplData['src']}}</span>
                    <span class="phonetic-transcription">{{value['phonic']}}</span>
                </div>
                {{/if}}
                <div class="dictionary-comment clearfix">
                    {{each value['mean'] as mean}}
                    <p>
                        {{if mean['pre']}}
                            <b>{{mean['pre']}}</b>
                        {{/if}}
                        {{each mean['cont'] as cont cont_key}}
                            {{if cont === '1'}}
                                <a href="/#auto/auto/{{cont_key}}" target="_blank">{{cont_key}}</a>; &nbsp;
                            {{else}}
                                <span>{{cont_key}}</span>; &nbsp;
                            {{/if}}
                        {{/each}}
                    </p>
                    {{/each}}
                </div>
                {{/each}}
            </div>
        </script>
        
        
        <script type="text/template" id="tplOrdinaryZonedword">
        <div class="output-bd clearfix" dir="{{tplData['dir']}}">
            <div class="fanyi-output">
                {{each tplData['data'] as value index}}
                    {{if value.dst}}
                    <p class="ordinary-output target-output">
                        {{value.dst}}
                    </p>
                    {{/if}}
                {{/each}}
            </div>
        </div>
        </script>        <div class="footer cleafix">
            <div class="extra-wrap">
            <a class="sideQrContainer" href="javascript:">
                <div class="sideQr">超好用的手机词典</div>
            </a>
            <a href="feedback" class="feedback-btn extra-btn" id="index-feedback-btn">意见反馈</a>
            <a href="###" class="backtotop-btn extra-btn"></a>
        </div>
        
        <script type="text/javascript">
            /**
             * @function :  插件的调用。
             * @how2use  :  使用过程，可以复制过去，仅需修改调用按钮id即可；如需透传数据信息，请联系百度反馈接口人。
             */
            (function () {
                /**
                 * @function :第一次加载插件，之后调用插件
                 */
                function init_feedback() {
                    if (bds && bds.qa && bds.qa.ShortCut && bds.qa.ShortCut.initRightBar) {
                        //初始化反馈插件的样式参数
        
                        var fb_options = {
                            needImage: true,   //是否需要用户展示图片(截图，或者上传)
                            upload_file: true,   //是否选择上传图片， true 表示上传图片，false表示截图
                            appid: 215648,   //产品线的id
                            productLine: 20060,   //
                            wenjuanTitle: "",   //问卷调查标题
                            wenjuanURL: "",   //问卷调查链接
                            issuePlaceholder: "请您描述遇到的问题或意见建议",   //问题描述提示语
                            contactPlaceholder: "请输入邮件、手机号码或QQ号码任意一种联系方式",   //联系方式提示语
                            showPosition: "bottom_right",   //显示位置，中心：center，右下： bottom_right
                            contactWayType: "contact_way",   //联系方式类型 contact_way，email，qq，tel
                            needContactWay: true,   //是否显示联系方式
                            needHotQuestion: false,   //是否显示常见问题
                            needQuestionnaire: false,   //是否显示问卷调查
                            needFeedbackType: true,   //是否显示反馈类型
                            needProductType: false,   //是否显示问题类型
                            needEvaluate: true,   //是否启用用户评价
                            typeArray: [{"id":"34174","name":"翻译质量问题"},{"id":"34175","name":"发音问题"},{"id":"34176","name":"意见建议或其它"},{"id":"34177","name":"词典问题"},{"id":"34180","name":"使用咨询"}],   //下拉列表项
                            titleBgColor: "#FFFFFF",   //标题栏背景色
                            buttonColor: "#3582FA",   //按钮的颜色
                            mainFontColor: "#151515",   //文字的主体颜色
                            secondaryFontColor: "#999999",   //文字的辅助颜色(用于input textarea输入框的提示文本)
                            titleColor: "#333333",   //标题栏颜色
                            hotQuestionArray: [],  //启用常见问题，列举常见的问题 <=5 个
                            needNoticeTips: true,  //是否显示通告文案
                            noticeTips: '百度翻译官方反馈QQ群：289656304', //通告文案
                        };
        
                        bds.qa.ShortCut.initRightBar(fb_options);
                        //产品线需要透传的参数，注意：json的标题必须是规范json写法，双引号，最后无逗号
                        var pro_data = {
                            //"extend_feedback_channel": 0  // 反馈来源
                        };
                        bds.qa.ShortCut._getProData(pro_data);
                    }
                }
        
                /**
                 * @function :校验js加载完成
                 * @returns :{boolean}
                 */
                function loadRightBar() {
                    _hmt.push(['_trackEvent', '首页', 'web端意见反馈按钮点击']);
                    if (window.bds&&window.bds.qa&&window.bds.qa.ShortCut) {
                        init_feedback();
                    } else {
                        loadScript(
                            "https://ufosdk.baidu.com/Public/feedback/js/dist/feedback_plugin_2.0.js",
                            function () {
                                init_feedback();
                            }, {
                                charset: "utf-8",
                                id: "feedback_script"
                            });
                    }
                    return false;
                }
                document
                    .getElementById("index-feedback-btn")
                    .onclick = loadRightBar;
                document
                    .getElementById('doc-view-feedback')
                    .onclick = loadRightBar;
            })();
            // 页面加载脚本判定函数
            function loadScript(url, callback, opt) {
                var script = document.createElement("script");
                var opt = opt || {};
                script.type = "text/javascript";
                if (opt.charset) {
                    script.charset = opt.charset;
                }
                if (opt.id) {
                    script.id = opt.id;
                }
        
                if (script.readyState) {
                    script.onreadystatechange = function () {
                        if (script.readyState == "loaded" || script.readyState == "complete") {
                            script.onreadystatechange = null;
                            callback();
                        }
                    };
                } else {
                    script.onload = function () {
                        callback();
                    };
                }
                script.src = url;
                document.body.appendChild(script);
            }
        </script>    <div class="inner clearfix">
                <div id="footer-products-container"></div>
                <div class="copyright">
            <ul>  
                <li>
                    <span class="copyright-text" dir="ltr">&copy;2022&nbsp;Baidu</span>
                </li>
                <li>
                    <a href="https://www.baidu.com/duty/" target="_blank">使用百度前必读</a>
                    <span class="split-line">|</span>
                </li>
                <li>
                    <a href="https://ai.baidu.com/" target="_blank">百度大脑</a>
                    <span class="split-line">|</span>
                </li>
                <li>
                    <a href="https://cloud.baidu.com/" target="_blank">百度智能云</a>
                    <span class="split-line">|</span>
                </li>
                <li>
                    <a href="https://xueshu.baidu.com/?from=fanyi" target="_blank">百度学术</a>
                    <span class="split-line">|</span>
                </li>
                <li>
                    <a href="http://fanyi.baidu.com/static/webpage/agreement.html" target="_blank">翻译协议</a>
                    <span class="split-line">|</span>
                </li>
                <li>
                    <a href="mailto:translate-service@baidu.com">建议与反馈</a>
                    <span class="split-line">|</span>
                </li>
                <li>
                    <a href="http://help.baidu.com/question?prod_en=fanyi&class=276&id=1000317" target="_blank">帮助</a>
                </li>
        
            </ul>
        </div>
                <div class="follow-wrapper">
            <div class="follow-btns" id="follow-btns">
                <a title="关注微博" class="follow-weibo-btn" data-pos="0" href="https://weibo.com/p/1006062272956842" target="_blank">关注微博</a>
                <a title="关注微信" class="follow-weixin-btn" data-pos="1">关注微信</a>
                <a title="下载手机版" class="mobile-link" data-pos="2">手机版</a>
                <a title="联系我们" href="mailto:translate-service@baidu.com" class="contact-us-btn" target="_self" data-pos="3">联系我们</a>
            </div>
        
            <div id="follow-dialog" class="follow-dialog hide">
                <div class="fdialog-mask"></div>
                <div class="fdialog-wrap" id="fdialog-wrap">
                    <div class="fdialog-main">
                        <i class="fdialog-close" id="fdialog-close"></i>
                        <div class="fdialog-cont cont-0">
                            <img src="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/img/footer/weibo.png">
                            <a data-pos="0" data-type="weibo-link-click" class="fdialog-link" href="http://weibo.com/baidutranslate">点击查看微博</a>
                            <div class="fdialog-info">
                                <p>这里有关于国外、旅游最有趣、有品、有料的资讯</p>
                                <p class="text-big">扫描二维码，即刻关注百度翻译官方微博</p>
                            </div>
                        </div>
                        <div class="fdialog-cont cont-1">
                            <img src="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/img/footer/wechatQr.png">
                            <a class="fdialog-link"></a>
                            <div class="fdialog-info">
                                <p>这里有关于国外、旅游最有趣、有品、有料的资讯</p>
                                <p class="text-big">扫描二维码，即刻订阅</p>
                            </div>
                        </div>
                        <div class="fdialog-cont cont-2">
                            <img src="https://fanyi-cdn.cdn.bcebos.com/webStatic/translation/img/downloadGuide/download-app-qr.png">
                            <a data-pos="2" data-type="mobile-link-click" class="fdialog-link" href="http://fanyi.baidu.com/appdownload/download.html">百度翻译手机端</a>
                            <div class="fdialog-info">
                                <p>随说随译。离线翻译，无网使用。一切尽在百度翻译APP。</p>
                                <p class="text-big">扫描二维码，即可下载</p>
                            </div>
                        </div>
                        
                    </div>
                </div>
            </div>
        </div>    </div>
        </div>        <div id="overall-toast" class="overall-toast overall-toast-hide"><span></span></div>        <script src="//passport.baidu.com/passApi/js/uni_login_wrapper.js?cdnversion=202212281143"></script>        <div id="app-guide" class="app-guide app-guide-hide"></div>        <div id="desktop-guide-wrapper"></div>    </div>
                <div id="outdated">
                    <h6>您的浏览器版本太低，将不能正常使用百度翻译！</h6>
                    <p>要正常浏览本网站请升级至&nbsp;&nbsp;<a href="https://www.microsoft.com/zh-cn/edge">新版本 edge 浏览器</a></p>
                    <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="关闭">&times;</a></p>
                </div>
                    <script>
        window['common'] = {
            
            
            
            token: '94d1ad35c3ff242680b6f8cd8521d53a',
            
            systime: '1673249874414',
            
            logid: '',
            
            langList: {
                        'zh': '中文','jp': '日语','jpka': '日语假名','th': '泰语','fra': '法语','en': '英语','spa': '西班牙语','kor': '韩语','tr': '土耳其语','vie': '越南语','ms': '马来语','de': '德语','ru': '俄语','ir': '伊朗语','ara': '阿拉伯语','est': '爱沙尼亚语','be': '白俄罗斯语','bul': '保加利亚语','hi': '印地语','is': '冰岛语','pl': '波兰语','fa': '波斯语','dan': '丹麦语','tl': '菲律宾语','fin': '芬兰语','nl': '荷兰语','ca': '加泰罗尼亚语','cs': '捷克语','hr': '克罗地亚语','lv': '拉脱维亚语','lt': '立陶宛语','rom': '罗马尼亚语','af': '南非语','no': '挪威语','pt_BR': '巴西语','pt': '葡萄牙语','swe': '瑞典语','sr': '塞尔维亚语','eo': '世界语','sk': '斯洛伐克语','slo': '斯洛文尼亚语','sw': '斯瓦希里语','uk': '乌克兰语','iw': '希伯来语','el': '希腊语','hu': '匈牙利语','hy': '亚美尼亚语','it': '意大利语','id': '印尼语','sq': '阿尔巴尼亚语','am': '阿姆哈拉语','as': '阿萨姆语','az': '阿塞拜疆语','eu': '巴斯克语','bn': '孟加拉语','bs': '波斯尼亚语','gl': '加利西亚语','ka': '格鲁吉亚语','gu': '古吉拉特语','ha': '豪萨语','ig': '伊博语','iu': '因纽特语','ga': '爱尔兰语','zu': '祖鲁语','kn': '卡纳达语','kk': '哈萨克语','ky': '吉尔吉斯语','lb': '卢森堡语','mk': '马其顿语','mt': '马耳他语','mi': '毛利语','mr': '马拉提语','ne': '尼泊尔语','or': '奥利亚语','pa': '旁遮普语','qu': '凯楚亚语','tn': '塞茨瓦纳语','si': '僧加罗语','ta': '泰米尔语','tt': '塔塔尔语','te': '泰卢固语','ur': '乌尔都语','uz': '乌兹别克语','cy': '威尔士语','yo': '约鲁巴语','yue': '粤语','wyw': '文言文','cht': '中文繁体'    },
            
            account: {
                is_login: '1',
                user_name: '旷世狗腿',
                add_name:true    },
            sid: '0',
            locale: 'zh',
            remote: {
                query: '',
                lang: '',
                expand: ''
            },
            rtSwitch: 'on',
            // 
            rtl: [
                        'ara'    ],
            langMap: {
                        'zh': ['en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht','zh','vie'],'en': ['zh','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht','vie'],'ara': ['zh','en','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht','vie'],'est': ['zh','en','ara','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht','vie'],'bul': ['zh','en','ara','est','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht','vie'],'pl': ['zh','en','ara','est','bul','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht','vie'],'dan': ['zh','en','ara','est','bul','pl','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht','vie'],'de': ['zh','en','ara','est','bul','pl','dan','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht','vie'],'ru': ['zh','en','ara','est','bul','pl','dan','de','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht','vie'],'fra': ['zh','en','ara','est','bul','pl','dan','de','ru','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht','vie'],'fin': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht','vie'],'kor': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht','vie'],'nl': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht','vie'],'cs': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht','vie'],'rom': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht','vie'],'pt': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht','vie'],'jp': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','swe','slo','th','wyw','spa','el','hu','it','yue','cht','jpka','vie'],'swe': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','slo','th','wyw','spa','el','hu','it','yue','cht','vie'],'slo': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','th','wyw','spa','el','hu','it','yue','cht','vie'],'th': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','wyw','spa','el','hu','it','yue','cht','vie'],'wyw': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','spa','el','hu','it','yue','cht','vie'],'spa': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','el','hu','it','yue','cht','vie'],'el': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','hu','it','yue','cht','vie'],'hu': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','it','yue','cht','vie'],'it': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','yue','cht','vie'],'yue': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','cht','vie'],'cht': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','vie'],'vie': ['zh','en','ara','est','bul','pl','dan','de','ru','fra','fin','kor','nl','cs','rom','pt','jp','swe','slo','th','wyw','spa','el','hu','it','yue','cht']    },
            // 图片翻译小流量
            ocrHit: '1',
            // 文档 翻译小流量
            docHit: true,
            docLangHit: '0' === '1' ? true : false,
            domainHit: '0' === '1' ? true : false,
            docSid: '',
            docTransWithoutLogin: '0' === '1' ? true : false,
            pdfHit: true,
            defaultNavList: '[2,1,0,3,4,6,5,7,10,8,13,14,11,12,15,9]',
            ownerNavList: '[2,1,0,3,4,6,5,7,10,8,13,14,11,12,15,9]',
            transPageUrl: encodeURI(''),
            headerHit: (('1' === '1') || (localStorage.getItem('header') === '1')) ? true : false,
            guideInfo: '{"isShow":"1","imgSrc":["https:\/\/fanyiapp.cdn.bcebos.com\/cms\/image\/bfa3f106013ad94ee5465eee6e6444ca.jpg","https:\/\/fanyiapp.cdn.bcebos.com\/cms\/image\/399d8b658c08364a20c5dec4cfed5caa.jpg","https:\/\/fanyiapp.cdn.bcebos.com\/cms\/image\/9a0079420e24b7556396bb5465852aee.jpg"],"appTitle":"\u767e\u5ea6\u7ffb\u8bd1APP 10.0","appVersion":"10.0.2","appFunc":"\u4e0d\u4ec5\u4ec5\u662f\u7ffb\u8bd1\uff01","appData":{"dataLeft":"100,000,000+ \u6b21\u4e0b\u8f7d","dataRight":"300,000+ 5\u661f\u597d\u8bc4"},"appQr":"https:\/\/fanyiapp.cdn.bcebos.com\/cms\/oldimage\/472309f7905298225b950af0d8ca7bcb0a46d45a.jpg","appText":"App Store\u53ca\u5404\u5927\u624b\u673a\u5e94\u7528\u5546\u5e97\u641c\u7d22\u201c\u767e\u5ea6\u7ffb\u8bd1\u201d\u5747\u53ef\u4e0b\u8f7d","version":2,"title":["\u6587\u6863\u7ffb\u8bd1","\u5168\u65b0\u5347\u7ea7"],"desc":["\u4e13\u4e1a\u9886\u57df\u7ffb\u8bd1","\u7248\u5f0f\u4fdd\u6301","\u5728\u7ebf\u7f16\u8f91\u8bd1\u6587","\u6743\u5a01\u672f\u8bed"],"btnText":"\u7acb\u5373\u4f53\u9a8c","btnLink":"https:\/\/fanyi.baidu.com\/mtpe\/?channel=pcPopup#\/editor\/quickImport","v3ImgUrl":"https:\/\/fanyiapp.cdn.bcebos.com\/cms\/image\/27d7a2f19460f43497fd38bf136c12c9.png","v3ImgUrlLink":"https:\/\/fanyi.baidu.com\/mtpe-individual\/?channel=pcPopup#\/yearFeedback"}',
        };
        
        // 防止你的网页被iframe嵌入
        if(window !== window.top) {
            window.top.location.href = 'https://fanyi.baidu.com/';
        }
        </script>
        
            <script>
            // token为空表示第一次访问百度网站服务器端没有收到baiduid cookie，会导致翻译接口校验不通过，通过刷新解决
                            if (!window.common.token) {
                        location.reload();
                    }
                    window.bdstoken = "aa07083f6ef2523e65b5d2c12292cd2b";window.gtk = "320305.131321201";
                    </script>
            </body>
        </html>
        `
    }

    render() {
        return (
            <div dangerouslySetInnerHTML={
                {
                    __html: this.state.myHtml
                }
            }></div>
        )
    }
}
